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

ipyaladin 0.2.3 add_listener issue #67

Closed
RobinMeneust opened this issue Jun 21, 2023 · 2 comments
Closed

ipyaladin 0.2.3 add_listener issue #67

RobinMeneust opened this issue Jun 21, 2023 · 2 comments
Labels
Milestone

Comments

@RobinMeneust
Copy link

The click event doesn't seem to work in ver. 0.2.3, but it does in ver. 0.2.0.

In ver. 0.2.0, I get the following info box, but in ver. 0.2.3 the info box content remains empty
image

Notebook: https://github.com/cds-astro/ipyaladin/blob/master/examples/7_on-click-callback.ipynb
Environment: Python 3.10.6 and modules in requirements.txt

@ManonMarchand
Copy link
Member

You're right. Thanks a lot for spotting this bug!

For reference during investivation:

Console error when using the listenner :

Uncaught TypeError: this is undefined
    model_events jupyter-aladin.js:263
    r aladin.js:2
    dispatch aladin.js:2
    handle aladin.js:2

@ManonMarchand ManonMarchand added this to the 0.3 milestone Jun 22, 2023
@ManonMarchand
Copy link
Member

It should be fixed with the version 0.2.4 that we just released. Don't hesitate to open an other issue if you find anything sketchy.
Thanks again!

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