codesandbox / codesandbox/codesandbox-client
Vue2 + CodeSandbox + click callback + event in console log crashes the app
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13.6k
- Forks
- 2.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 2
Description
🐛 bug report
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project
adheres to. - I have searched the issue tracker for an issue that matches the one I want
to file, without success.
Description of the problem
Hi. I have a simple Vue2 application: https://codesandbox.io/s/amazing-shadow-v20pxz?file=/src/App.vue
It has 4 different buttons for logging and showing an alert popup.
Everything works fine except the last button which tries to log the event. (some kind of infinite loading occurs)
How has this issue affected you? What are you trying to accomplish?
To Reproduce
Link to sandbox: link (optional)
https://codesandbox.io/s/amazing-shadow-v20pxz?file=/src/App.vue
Your Environment
| Software | Name/Version |
|---|---|
| Сodesandbox | (Cloud/latest) |
| Browser | Chrome 108 |
| Operating System | Windows 11 |
Contributor guide
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
Open the linked CodeSandbox and inspect src/App.vue, then run the four button actions to reproduce the last button's infinite loading when it logs the event. Done means the event can be logged without the application hanging, while the other button behaviors remain unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100