-
Notifications
You must be signed in to change notification settings - Fork 204
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
[BD-9310][BpkMobileScrollContainer] Optimize the use of debounce for compatibility #3750
[BD-9310][BpkMobileScrollContainer] Optimize the use of debounce for compatibility #3750
Conversation
Visit https://backpack.github.io/storybook-prs/3750 to see this build running in a browser. |
Visit https://backpack.github.io/storybook-prs/3750 to see this build running in a browser. |
Visit https://backpack.github.io/storybook-prs/3750 to see this build running in a browser. |
Browser supportIf this is a visual change, make sure you've tested it in multiple browsers. |
Visit https://backpack.github.io/storybook-prs/3750 to see this build running in a browser. |
Visit https://backpack.github.io/storybook-prs/3750 to see this build running in a browser. |
In some browsers not supported by Browserslist, such as Safari 15.7.1 - it will not appear in the list when configuring Safari >= 15, and after bundling with the Nx webpack plugins, the reference to
debounce
may be lost, causing an exception error.To solve the compatibility issue of using
debounce
, bind it to an instance property to ensure that the correct reference can always be obtained.Remember to include the following changes:
[KOA-123][BpkButton] Updating the colour
README.md
(If you have created a new component)README.md