I took an example of demo messages , put it in jsbin, and then edited it to pull out the list and split it into a separate polymer element. In other words, pretending we want to make the mailbox editor a reusable component. This is more similar to my application, as I have broken it down into many such components to make it more modular (one of the big advantages of IMO web components).
Since Fab is part of this new element, leaving its absolute position places it in the lowest corner of the list, and not always to the right of the window.
To fix this, I just changed it to a fixed position. See this jsbin
It loads fine, but when you start scrolling (in the last chrome), you scroll through the lines with the contents of the list, and do not remain fixed in the lower right corner.
Interestingly, if you click the mouse in the lower right corner of the window (where the factory was supposed to be), fab jumps down to the right place. Now, when you scroll it, it remains in the correct position.
Very strange. Any ideas about the reason and am I doing something wrong or is it a polymer mistake?
css-position polymer
Anders
source share