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

feat(dropdown): direction update #2974

Closed
wants to merge 3 commits into from
Closed

Conversation

alvarolm
Copy link
Contributor

Description

due to changes around the drodown, it might be needed to update the direction
in my case this is needed to keep critical ui components visible

non-breaking change

implements behavior to update direction
missing semicolon
@lubber-de
Copy link
Member

Each module already has a "setting" behavior to change settings after instantiation to avoid doing methods for each setting separately.

To accomplish your use case you could use

  $('.ui.dropdown').dropdown('setting', 'direction', 'upward');

I have to admit this is not clearly stated everywhere in the docs. In some examples it is used, so one could stumple upon this to find out.

@alvarolm
Copy link
Contributor Author

I just looked up the dropdown documentation selectively.
thanks for clarifying, maybe a documentation update is needed.

@alvarolm alvarolm closed this Jan 11, 2024
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.

2 participants