Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dropdown): fix simple upward variant #2219

Merged
merged 2 commits into from
Feb 1, 2022

Conversation

lubber-de
Copy link
Member

Description

The simple dropdown css only variant was broken when trying to use it with a upward menu

  • menu was cut on smaller screens
  • dropdown itself was overlayed by menu
  • simple selection variant had wrong borders

Testcase

Fixed

https://jsfiddle.net/lubber/cz09kaue/1/

Broken

https://jsfiddle.net/lubber/cz09kaue/3/

Screenshot

image

Closes

Semantic-Org/Semantic-UI#6288

@lubber-de lubber-de added type/bug Any issue which is a bug or PR which fixes a bug lang/css Anything involving CSS state/awaiting-reviews Pull requests which are waiting for reviews tag/sui-issue Taken from an existing Issue/PR of SUI labels Jan 31, 2022
@lubber-de lubber-de added this to the 2.9.0 milestone Jan 31, 2022
Copy link
Contributor

@exoego exoego left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lubber-de lubber-de merged commit 344ec4c into fomantic:develop Feb 1, 2022
@lubber-de lubber-de deleted the fix/6288/simpleUpwardDropdown branch February 1, 2022 13:59
@lubber-de lubber-de removed the state/awaiting-reviews Pull requests which are waiting for reviews label Feb 1, 2022
lubber-de added a commit that referenced this pull request Nov 20, 2022
This partly reverts #2219 and only adds the overflow setting in case of a simple selection dropdown where a possible scrollbar is only needed. Since 2.9.0 a simple menu item dropdown unfortunately also applied a scrollbar, which is wrong.

This PR also fixes upward menu positioning in case a floating simple upward dropdown is used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/css Anything involving CSS tag/sui-issue Taken from an existing Issue/PR of SUI type/bug Any issue which is a bug or PR which fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants