tether
tether copied to clipboard
A positioning engine to make overlays, tooltips and dropdowns better
Hello, I'm trying to understand why this tether attached with 'together':  ``` coffeescript new Tether({ enabled: false # enabled later element: @$tooltip target: @$bubble.querySelector('div') attachment: 'top right' targetAttachment: 'bottom...
I created a tether between 2 elements with the following js: ```js new Tether({ element: '#a1234', target: '#target', attachment: 'top right', targetAttachment: 'top left' }); ``` When the tether is...
## This is my use-case I develop an app that should work on both desktops and mobiles. On desktops, I will have some medium sized tooltips. My tooltips will all...
Hello! I may be misunderstanding `Tether.destroy`, but it only removes the `zeroElement` and leaves the `Tether.element` when I call it. (The `zeroElement` is the first Tether-related line in this screenshot.)...
In this configuration, what should happen to the offset if the tether is flipped? ``` js targetAttachment: 'bottom right', targetOffset: '16px 0', constraints: [{ to: 'window', attachment: 'together', }] ```...
i have the config bellow, $input is a input element, $picker is a div element, as popover layer ``` target: $input, targetAttachment: 'bottom left', targetOffset: '10px 0', element: $picker, attachment:...
My project is creating a popover with content that is a little interactive and can shrink or grow in size. When that happens sometimes the popover miscalculates the positions and...
Hi, I'd like to know if it would be possible to use Tether to position a dropdown according to a selection range. My usecase is that I have a contenteditable...
eg: https://codepen.io/anon/pen/NXavWW Either removing the bodyElement or removing `position: relative` from the container obviously doesn't show the issue.
When using a constraint, e.g. `together` to switch both the attachments of `element` and `target`, the defined `offset` is not inverted. Example element is positioned like a dropdown, 6px below...