Skip to content

Popover tether on window resize #22022

Closed
Closed

Description

@silverbackdan

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.

Activity

  1. added
    jsJavaScript or TypeScript sources and plugins
    v4v4, the frozen docs on gh-pages
    on Feb 21, 2017
  2. Johann-S commented on May 14, 2017

    @Johann-S
    Member

    Closed and fixed by #22444

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    jsJavaScript or TypeScript sources and pluginsv4v4, the frozen docs on gh-pages

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions