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

Popover tether on window resize #22022

Closed
silverbackdan opened this issue Feb 17, 2017 · 1 comment
Closed

Popover tether on window resize #22022

silverbackdan opened this issue Feb 17, 2017 · 1 comment
Labels

Comments

@silverbackdan
Copy link

silverbackdan commented Feb 17, 2017

I'm not sure whether this is a Bootstrap bug or Tether. I've created a small JS Bin to demonstrate that when I have aligned a button to the right, popover to the left and then resize the window with the popover open, the popover no longer aligns properly. Instead it will go off to the left of the screen.

  • Operating system and version (Windows, Mac OS X, Android, iOS, Win10 Mobile)
    MacOS Sierra 10.12.3
  • Browser and version (Chrome, Firefox, Safari, IE, MS Edge, Opera 15+, Android Browser)
    Chrome 56.0.2924.87 (64-bit)
  • Reduced test cases and potential fixes using JS Bin
    https://jsbin.com/cubacik/1/edit?output

I think it has something to do with the percentage width calculation because if you set a min-width when the container reaches that width, it aligns correctly again.

@Johann-S
Copy link
Member

Closed and fixed by #22444

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

No branches or pull requests

3 participants