mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-12 07:12:28 +03:00
change initialization bridging attribute name to prevent frameworks to change it back to empty
This commit is contained in:
@@ -60,7 +60,7 @@ const OverlayScrollbarsComponent = <T extends keyof JSX.IntrinsicElements>(
|
||||
|
||||
return (
|
||||
// @ts-ignore
|
||||
<Tag data-overlayscrollbars="" {...other} ref={elementRef}>
|
||||
<Tag data-overlayscrollbars-initialize="" {...other} ref={elementRef}>
|
||||
<div ref={childrenRef}>{children}</div>
|
||||
</Tag>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user