FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Properly position "uib-dropdown-menu" when it has class "dropdown-menu-right" and the parent element have hidden scrollbar by Stalinko · Pull Request #6601 · angular-ui/bootstrap · GitHub

This repository was archived by the owner on May 29, 2019. It is now read-only.

Repository navigation

Properly position "uib-dropdown-menu" when it has class "dropdown-menu-right" and the parent element have hidden scrollbar - #6601

Open
Stalinko wants to merge 2 commits into
angular-ui:masterfrom
Stalinko:master
Open

Stalinko wants to merge 2 commits into
angular-ui:masterfrom
Stalinko:master

Conversation

Copy link
Copy Markdown

When dropdown-menu is positioned relatively to the right it takes into account the right scrollbar width. It detects scrollbar by checking whether content height is bigger than clientHeight but sometimes scrollbar can be absent even when content doesn't fit the element visible area when "overflow = hidden".

In this pull request I'm adding proper check for this case.

This branch has not been deployed

No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL