-
Notifications
You must be signed in to change notification settings - Fork 12
Should be able to scroll via header #1
Comments
Also, related issue: The scroll bar is obscured by the header when not fixed |
Any word yet on this issue? |
We are looking at ways to address this issue, stay tuned. |
How's the fix coming along? |
The way pp.org solves this is to have the header be |
The "relative/fixed positioning" approach requires to use document scroll and will not work for element scroll. Using document scroll means the document body is the scroll content and if you need a side drawer or a footer you will have to position them manually and can't use flexbox easily to layout stuffs. #25 tried to address this issue by putting the header in the scroll area and fix its position through transforms but since scroll events are sent async so the header's position would be off. There is a proposal scroll-blocks-on which will help us to address this. |
Good point @frankiefu. I'm excited about scroll-blocks-on but it won't be available for quit some time across the board. Given that this has bitten a lot of people, I wonder if we could have an opt-in model for #25? |
Whatever you're doing on the docs site works well enough. You could help very many people by supporting 'site-banner'. Doesn't seem to work outside that site. |
I've worked around this by setting pointer-events:none on the headerContainer. I haven't thoroughly tested it, but for my purposes (rapid prototyping) it works fine. |
As @yMasukor said, the quick temp solution for scrolling pointing mouse on header is:
Works for me too. |
I've opened a pull request #35 . It also addresses issues #15 and #16. The drawbacks of the "relative/fixed positioning" approach pointed out by @frankiefu and @ebidel should be acceptable in the special case that Yet, even in "fullWindow" mode it can be embedded in a See it in action at http://sidkat.net/polymer/sk-scroll-header-panel/demo.html. (Don't miss clicking the icon.) |
Subscribing, having the exact same issue due to having a dominant waterfall-large image. Used core-scroll-header-panel meanwhile, with this workaround (but of course, it doesn't work on links, button…) |
Hello Folks!!
|
Hooray for bug reports during active development, right? :P
Just in case you weren't aware, though: You can't scroll(wheel) when the cursor is over the header; which feels a bit broken, especially for really tall headers.
Tricky 'cause the header isn't inside the scrollable element. Perhaps the header should be
position: fixed
, and inside the scrollable element. The increased complexity of that is no fun, though...The text was updated successfully, but these errors were encountered: