-
Notifications
You must be signed in to change notification settings - Fork 11
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
ld-select popper element remains open on page navigation #389
Comments
borisdiakur
added a commit
that referenced
this issue
Jul 27, 2022
10 tasks
borisdiakur
added a commit
that referenced
this issue
Jul 27, 2022
renet
pushed a commit
that referenced
this issue
Jul 27, 2022
github-actions bot
pushed a commit
that referenced
this issue
Jul 27, 2022
# [2.4.0](v2.3.1...v2.4.0) (2022-07-27) ### Bug Fixes * **ld-select:** remove popper in disconnected callback ([20e92f8](20e92f8)), closes [#389](#389) * **ld-tooltip:** remove popper in disconnected callback ([b59c123](b59c123)) ### Features * **ld-button:** add danger-secondary mode ([edc52ae](edc52ae)) * **ld-select:** add filter feature ([b6a84ee](b6a84ee)), closes [#238](#238) * **ld-stepper:** add interaction styles ([f1a6a66](f1a6a66)) * **ld-stepper:** add progress indicator component ([8cdd327](8cdd327)) * **ld-tabs:** floating mode ([0d8f4f4](0d8f4f4))
🎉 This issue has been resolved in version 2.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
Steps to reproduce the behavior
After investigating this issue I found out that calling the
destroy
method on the popper element was not enough to close it during the execution of thedisconnectedCallback
component life cycle method. However, explicitly removing the popper element after destruction in thedisconnectedCallback
method resolves the issue. Steps to reproduce are:$('ld-select').remove()
Expected behavior
ld-select popper element closes on page navigation.
Actual behavior
ld-select popper element remains open on page navigation.
The text was updated successfully, but these errors were encountered: