paper-dropdown-menu icon indicating copy to clipboard operation
paper-dropdown-menu copied to clipboard

Paper dropdown menus near the bottom of the window should drop up

Open dfreedm opened this issue 10 years ago • 11 comments

From @CSEMike on October 23, 2015 19:17

Paper dropdowns near the bottom of the window always open down, creating a compressed scroll area that's very difficult to navigate. (This is doubly challenging on OSX, wherein scroll bars are invisible by default.)

A video illustrates this issue in the demo page -- https://drive.google.com/file/d/0B8dway2WcUoSNWZrcFc3LVI0aGM/view?usp=sharing

I'd expect the behavior of polyer dropdowns to match other UI dropdown widgets and drop 'up' rather than down if the dropdown is too close to the bottom of the window and has more room above than below.

Copied from original issue: Polymer/polymer#2616

dfreedm avatar Nov 06 '15 22:11 dfreedm

From @miztroh on October 23, 2015 20:23

+1! On Oct 23, 2015 2:17 PM, "Michael Piatek" [email protected] wrote:

Paper dropdowns near the bottom of the window always open down, creating a compressed scroll area that's very difficult to navigate. (This is doubly challenging on OSX, wherein scroll bars are invisible by default.)

A video illustrates this issue in the demo page --

https://drive.google.com/file/d/0B8dway2WcUoSNWZrcFc3LVI0aGM/view?usp=sharing

I'd expect the behavior of polyer dropdowns to match other UI dropdown widgets and drop 'up' rather than down if the dropdown is too close to the bottom of the window and has more room above than below.

— Reply to this email directly or view it on GitHub https://github.com/Polymer/polymer/issues/2616.

dfreedm avatar Nov 06 '15 22:11 dfreedm

Bump. I would love this to be resolved.

ozwaldorf avatar Dec 06 '15 02:12 ozwaldorf

+1!

ghost avatar Dec 09 '15 19:12 ghost

+1

doroginin avatar Dec 09 '15 19:12 doroginin

I think we should add an attribute to paper-dropdown-menu (and iron-dropdown) to enable "automatic" alignment based on the viewport.

cdata avatar Dec 09 '15 20:12 cdata

+1

militeev avatar Dec 22 '15 17:12 militeev

+1

sounakpal avatar Jan 12 '16 09:01 sounakpal

+1

kornalius avatar Apr 11 '16 18:04 kornalius

Any update on this issue?

I would be willing to work on a fix, however, I'm not exactly sure where to start. My hunch is that an iron-overlay-behavior method needs to be overridden.

Also, any temp fixes/recommendations would be greatly appreciated. Thanks

cbelden avatar May 04 '16 23:05 cbelden

Bumping this up. This behavior really annoying.

Adminiuga avatar Mar 28 '19 18:03 Adminiuga

+1

DrNiels avatar Mar 29 '21 12:03 DrNiels