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

clickAnnotation event doesn't fire if readOnly and disableEditor are true #270

Open
kennysong opened this issue Jan 21, 2023 · 2 comments
Open
Labels
v2.x Legacy 2.x relesae

Comments

@kennysong
Copy link

When readOnly and disableEditor are set to true, it seems like the clickAnnotation event doesn't fire if an annotation is already selected.

The event does fires properly if those config variables are set to false.

Here's a minimum example that reproduces this behavior: https://codepen.io/helloksong/pen/ExpoOWY

@lxow456
Copy link

lxow456 commented Mar 9, 2023

Hi, I have encountered similar problems. Do you know what causes this? And have you solved this problem?

@kennysong
Copy link
Author

No workaround yet, I just found a way to not use that event in our codebase.

@rsimon rsimon added the v2.x Legacy 2.x relesae label Oct 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v2.x Legacy 2.x relesae
Projects
None yet
Development

No branches or pull requests

3 participants