You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for existing issues that already report this problem, without success.
Liquid version
5.14.0
Framework bindings
React
Current behavior
LdModal calls ldmodalclosed 2 times on modal close.
Expected behavior
LdModal calls ldmodalclosed 1 time on modal close.
Steps to reproduce
code like this reveals is
constmodalRef=useRef(null)return(<><LdModalblurryBackdropref={modalRef}onLdmodalclosed={()=>alert('Modal closed')}><LdTypostyle={{textAlign: 'center'}}>I'm a modal dialog.</LdTypo></LdModal><LdButtononClick={()=>modalRef.current.showModal()}>
Open Modal
</LdButton></>)
The text was updated successfully, but these errors were encountered:
ssuchkov
added
bug
An issue describing unexpected or malicious behaviour.
triage
An issue that needs assessment to determine its validity and urgency
labels
Feb 25, 2025
Prerequisites
Liquid version
5.14.0
Framework bindings
React
Current behavior
LdModal calls ldmodalclosed 2 times on modal close.
Expected behavior
LdModal calls ldmodalclosed 1 time on modal close.
Steps to reproduce
code like this reveals is
Code reproduction URL
https://stackblitz.com/edit/github-lmnmdfxu?file=src%2FApp.tsx
Additional information
No response
The text was updated successfully, but these errors were encountered: