You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have verified that I use latest version of all @mantine/* packages
What version of @mantine/* packages do you have in package.json?
7.15.1
What package has an issue?
@mantine/core
What framework do you use?
Other, I will specify in the bug description
In which browsers you can reproduce the issue?
Chrome
Describe the bug
The scrollbar does not change position at the first scrolling timing.
This was also confirmed on the Storybook and Mantine documentation, so I will put up a video
7.15.1
mantine_7.15.1_scrollarea.mp4
7.14.3
mantine_7.14.3_scrollarea.mp4
If possible, include a link to a codesandbox with a minimal reproduction
No response
Possible fix
Using git bisect, I found the commit that caused this and confirmed that it behaves as it did in 7.14.3 by modifying it as follows. (ecd05d8)
However, I am not quite sure what it means, and would like to ask someone in the know to fix it.
Any feedback would be appreciated.
It seemed that if I set useRef(noop), the scrollbar would not be redrawn while scrolling because addUnlinkedScrollListener() would not be called on the first scroll.
Therefore, it seems that it must be undefined at first.
tamago324
added a commit
to tamago324/mantine
that referenced
this issue
Dec 13, 2024
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.15.1
What package has an issue?
@mantine/core
What framework do you use?
Other, I will specify in the bug description
In which browsers you can reproduce the issue?
Chrome
Describe the bug
The scrollbar does not change position at the first scrolling timing.
This was also confirmed on the Storybook and Mantine documentation, so I will put up a video
7.15.1
mantine_7.15.1_scrollarea.mp4
7.14.3
mantine_7.14.3_scrollarea.mp4
If possible, include a link to a codesandbox with a minimal reproduction
No response
Possible fix
Using
git bisect
, I found the commit that caused this and confirmed that it behaves as it did in 7.14.3 by modifying it as follows. (ecd05d8)However, I am not quite sure what it means, and would like to ask someone in the know to fix it.
Any feedback would be appreciated.
Self-service
The text was updated successfully, but these errors were encountered: