Currently, I am exploring the new features in Rails 5 by following Michael Hartl's tutorial for this version. Upon reaching the end of chapter 7, I observed that the links in the navigation bar only function when clicked below them. After inspecting the webpage, I discovered a strange
div.lpiframeoverlay/iframe#lpiframeNNNNNNNN/#document/html
element that appears to have no real purpose other than intercepting events.
A search on github.com/rails
for lpiframeoverlay
yielded no results, suggesting that it may be related to one of the libraries being utilized in the code.
The source code includes a @media print
rule to hide .lpiframeoverlay
, so I decided to do the same universally. This resolved the issue, but I am still puzzled about the true function of this mysterious element.