Topic: scrollbar Non Passive Event Listener Error
I getting warning like this on my chrome console..as
[Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive
while using your material-scrollbar
Could you provide the code that causes this error?
This Warning has been shown on whole Project because I'm using MDB scrollbar...how can I send the whole project code..?
I asked for some code because after reading the description of the problem I can't be sure which component you use. The material-scrollbar should not be responsible for this warning because there are no 'touchstart' listeners.
Did you use this code or the code of some other component?
<div class="scrollbar scrollbar-primary"> <div class="force-overflow"></div> </div>
Yay this code and I customized both scrollbar color on page and side-nav color with
- User: Pro
- Premium support: Yes
- Technology: Angular
- MDB Version: 7.4.3
- Device: Lenova
- Browser: Chrome 73
- OS: Windows 10
- Provided sample code: No
- Provided link: No