Comments (1)
I found a fix. When the event.target
is a click within the <section id="example-choice-list">
element ie not a <div class="example-choice">
container or the nested <code>
, then we can just return to stop that pesky error from happening.
If we click between an example choice (ie within the <section>
but not on the <div class="example-choice">
) then nothing happens since we bail. I wouldn't expect anything to happen either as a user if I click between the choices.
P.S the demo below won't play on Firefox for some reason, works fine on Chrome, not exactly sure why it loads and plays but is stuck on the first frame with Firefox.
click-between-example-choices.mov
from bob.
Related Issues (20)
- Wrap localStorage read/write access in try-catch block
- Insufficient color contrast in the interactive examples HOT 1
- Utilize ES6 features HOT 3
- css-examples: Regressions in bob v3
- Invalid CSS after editing isn't highlighted
- CSS editor: ctrl-X ctrl-V doesn't work
- Copy to clipboard from 'Try it' is not working
- backdrop-filter demo says the feature is not supported by Safari (but it is) HOT 9
- Horizontal scrollbar obscures content HOT 2
- Interactive Example Search Box looks broken / not intended HOT 3
- Consider extending feature detections for CSS functions HOT 4
- Interactive examples ignore changes of color schemes when features are not supported HOT 2
- Testing interactive examples with new BOB changes HOT 10
- Is auto-deployment of new/updated example pages broken? HOT 3
- Interactive examples: scrollbars break dark theme HOT 1
- interactive examples: line numbers and code overlaps HOT 14
- HTML examples: sometimes line counter collapses HOT 7
- Bug: Line number in code snippets doesn't stay on the left side when scrolling HOT 11
- Interactive examples 2-column layout is not compatible with mobile HOT 5
- Code line numbers overlap with line content. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bob.