Skip to content

WW-4612 Use the real dropdown height when deciding to flip above - #145

Open
kevinbarfleur wants to merge 1 commit into
mainfrom
WW-4612_dropdown-position
Open

WW-4612 Use the real dropdown height when deciding to flip above#145
kevinbarfleur wants to merge 1 commit into
mainfrom
WW-4612_dropdown-position

Conversation

@kevinbarfleur

Copy link
Copy Markdown
Contributor

A rendered dropdown with one short option measures ~40px, under the 50px sanity guard, so a 300px estimate was used instead and the flip-above branch sent the dropdown to the top of the page. The guard predates the rAF measurement pass that made it obsolete. Known pre-existing edge, improved but not fully covered: the dropdown does not re-sync when bound options arrive after opening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant