Failed to execute 'remove' on 'DOMTokenList': The token provided must not be empty
See original GitHub issueOn navigating between certain pages, I’m seeing this error popup. It looks like during cleanup, there is something going wrong with the swiper component?
Uncaught DOMException: Failed to execute 'remove' on 'DOMTokenList': The token provided must not be empty.
at Dom7.removeClass (http://localhost:4000/_next/static/chunks/5.js:222:105)
at Swiper.removeClasses (http://localhost:4000/_next/static/chunks/5.js:4606:7)
at Swiper.destroy (http://localhost:4000/_next/static/chunks/5.js:5243:14)
at destroySwiper (http://localhost:4000/_next/static/chunks/5.js:1520:39)
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:5 (1 by maintainers)
Top Results From Across the Web
ERROR DOMException: Failed to execute 'remove ... - GitHub
ERROR DOMException : Failed to execute 'remove' on 'DOMTokenList': The token provided must not be empty. #20836.
Read more >DOM error while using .classList.add method - Stack Overflow
Uncaught DOMException : Failed to execute 'add' on 'DOMTokenList': The token provided ('1 cell-red') contains HTML space characters, which are ...
Read more >DOMTokenList.remove() - Web APIs - MDN Web Docs
A string representing the token you want to remove from the list. If the string is not in the list, no error is...
Read more >Javascript Issue - MyBB Community Forums
classie.js:38 Uncaught DOMException: Failed to execute 'remove' on 'DOMTokenList': The token provided must not be empty. at Object.
Read more >JavaScript HTML DOMTokenList Object - W3Schools
A DOMTokenList may look like an array, but it is not. You can loop through a DOMTokenList and refer to its token with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@exsesx I’ve moved to swiper completely, since they have their own react implementation (for me this one became way less relevant)
It should be fixed in the newest version.