Comments (3)
Thanks for the update! I expected to see the error on page load so I got confused initially.
I fixed this bug and published a new version (0.10.3). Now clicking on a tab will activate that tab without triggering the error. I also considered activating the first tab by default if ".mui--is-active" isn't present but that raises other issues that I hadn't considered (e.g. what if related pane is dynamic and isn't present in DOM) so I'm leaning towards leaving it as-is.
Let me know if you run into any more problems with the tabs component!
from mui.
It should be fairly easy to modify the JS code to activate the first tab by default when "mui--is-active" is not set. I can take a look at this. In the mean time, can you share some example code to reproduce that error message? I tried the html but I don't see an error message (Chrome/Firefox/Safari):
https://jsfiddle.net/muicss/dku8f2ar/
from mui.
Tested on: Chrome 83, Firefox 76, Edge 44, Safari 13.1
Your fiddle https://jsfiddle.net/muicss/dku8f2ar/ I get the same error in console (in all browsers listed above).
Clicking on FAQ or Contact Form does nothing.
Uncaught TypeError: Cannot read property 'id' of null
at s (mui.min.js:1)
at HTMLAnchorElement.r (mui.min.js:1)
Another thing to note is that I tested Safari 13.1 inside a VM as to rule out some weird esoteric setting on my laptop. 😆
from mui.
Related Issues (20)
- React Input component crashes when inputRef is used HOT 9
- npm run build-e2e-tests fails with an error HOT 2
- WebComponents part is outdated? Should we perfect it? HOT 1
- Label in input form not properly visualized HOT 2
- React Dividers example broken? HOT 1
- Configuration via mocha.opts is DEPRECATED HOT 2
- How we can update the muicss docs? HOT 3
- Outlined text HOT 2
- Dark mode support via automatic CSS media query prefers-color-scheme HOT 1
- limit size of select menu HOT 4
- Is this repo still being maintained? HOT 1
- Required validation for select HOT 2
- Reset form input validation HOT 4
- select with multiple attribute HOT 2
- Make tab hidden/visible on some criteria HOT 2
- MUI hacked? Github Repo has only a 0.10.2 tag and the website and NPM show a 0.10.3 version. HOT 1
- Support for react 17 HOT 5
- Bugs in negated `in` expressions
- [Autocomplete] How to implement? HOT 1
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 mui.