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

Suggestion list position not updated when tagify integrated into scrollable container #1101

Closed
3 tasks done
lhapaipai opened this issue Aug 17, 2022 · 1 comment
Closed
3 tasks done
Labels

Comments

@lhapaipai
Copy link

lhapaipai commented Aug 17, 2022

Thanks for your package it's awesome !

Prerequisites

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

💥 Demo Page

https://jsbin.com/lokowudeya/edit?html,css,js,output

Explanation

when I focus on the tagify component the dropdown is showed. when I scroll, the dropdown no longer appears under the input
tagify-bug

for the moment I added this script ...

scrollContainer.addEventListener('scroll', () => {
    tagify.dropdown.position()
});

can we add an option where we can specify the scroll container ?

@yairEO yairEO added the Bug label Aug 19, 2022
@yairEO yairEO closed this as completed in 7ffa196 Aug 19, 2022
yairEO pushed a commit that referenced this issue Aug 19, 2022
…a scrollable container (other than `<body>`)
@lhapaipai
Copy link
Author

Thank you it's perfect !

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

2 participants