widgetti / widgetti/ipyvuetify
v.Menu 'input' event triggers function two times
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 355
- Forks
- 61
- PR merge metrics
- No merged PRs in 30d
Description
I am trying to call a function when the menu closes which is achievable using the input event of v.Menu but it seems to call the function twice although I have just called my function once using:
myMenu.on_event('input', myFunction)
This seems like a bug but please do tell me if I am doing something wrong or there is a caveat that I don't know of.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the v.Menu input event behavior with the shown myMenu.on_event('input', myFunction) call, then trace the v.Menu event handling. Done means one function invocation per menu close, or a documented caveat explaining why two invocations are expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter, python
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100