GenieFramework / GenieFramework/StipplePlotly.jl

plotly_click event hidden by default click event

Open Beginner friendly
#77 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
27
Forks
8
PR merge metrics
No merged PRs in 30d

Description

In syncplot.js there are handlers defined for `'plotly_click'` and `click`, both writing to `model[prefix + '_click']`. Since the normal `click` handler runs later it overwrites the plotly event data with solely the cursor position.

Either the default handler shouldn't be called after the plotly handler or they should write to different variables.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in syncplot.js and inspect the 'plotly_click' and click handlers that both write to model[prefix + '_click']. Reproduce the event ordering, then ensure the plotly event data is not overwritten by the default click handler, or that the handlers use separate variables; done means plotly_click retains its event data.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, plotly
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.