Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code from the documentation results in console errors #708

Open
markhowellsmead opened this issue Oct 23, 2024 · 0 comments
Open

Code from the documentation results in console errors #708

markhowellsmead opened this issue Oct 23, 2024 · 0 comments

Comments

@markhowellsmead
Copy link

markhowellsmead commented Oct 23, 2024

Describe the bug
In Brave: Uncaught TypeError: Cannot read properties of undefined (reading 'throttle')
In Firefox: Uncaught TypeError: h is undefined
In Safari: TypeError: undefined is not an object (evaluating 'h.throttle')

To Reproduce

import 'simplebar';
import 'simplebar/dist/simplebar.css';

import ResizeObserver from 'resize-observer-polyfill';
window.ResizeObserver = ResizeObserver;

Compiled using Webpack.

Your environment

Software Version(s)
SimpleBar 6.2.7
Browser Brave, Firefox
npm 10.8.2
Operating System MacOS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant