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): Automatically adjust direction if partially outside screen #119

Open
slavik990 opened this issue Jun 21, 2017 · 3 comments

Comments

@slavik990
Copy link

We can set dropdown position via class ("pointing"), but sometime it cannot be placed on screen. In this case I think it should change default position to other

@edcarroll
Copy link
Owner

I think because this isn't the default behaviour of the dropdown component (in the base semantic UI library), this should be added as a separate configuration option, such as [autoPosition], that sets the upward class and changes the transition accordingly. Will put this in the next release.

@edcarroll edcarroll added this to the 0.8.4 milestone Jun 21, 2017
@edcarroll edcarroll self-assigned this Jun 21, 2017
@edcarroll edcarroll modified the milestones: 0.9.0, 0.8.4, 0.10.0 Jun 21, 2017
@edcarroll edcarroll modified the milestones: 0.9.1, 0.10.0 Jul 3, 2017
@edcarroll edcarroll changed the title Part of dropdown placed outside screen feat(dropdown): Automatically adjust direction if partially outside screen Jul 4, 2017
@edcarroll edcarroll modified the milestones: Needs Milestone, 0.9.3 Jul 19, 2017
@mcosta74
Copy link
Contributor

mcosta74 commented Aug 3, 2017

Does this Semantic-Org/Semantic-UI#4211 (released in v2.2.11) fix the issue ??

@edcarroll
Copy link
Owner

@mcosta74 looks like that PR updates the dropdown JS code, so won't affect behavior here unfortunately

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

No branches or pull requests

3 participants