-
Notifications
You must be signed in to change notification settings - Fork 210
Open
Description
When I use the drop as a tooltip in a form, it breaks when the screen is reduced to mobile screen width at 320px.
Please see the screenshot here:
Shouldn't it move to the left a little to stay within the viewport? It's currently push the page width out:
How do I fix this?
Here is the code:
<a class="drop-target drop-target-example-drop-theme-arrows-bounce-dark ss-help"></a>
var drop = new Drop({
target: document.querySelector('.drop-target'),
classes: 'drop-theme-arrows-bounce-dark',
openOn: 'click',
content: this.content,
position: 'top center',
constrainToWindow: true,
constrainToScrollParent: false
});
josephrocca and klesun
Metadata
Metadata
Assignees
Labels
No labels

