Scroll restoration(scrollTo) on react not working with "drawer" class #832
Answered
by
saadeghi
JosePaulson
asked this question in
Q&A
-
Trying to restore scroll to top on every navigation, and can't make it work. Except it works just fine when the "drawer" class is removed. |
Beta Was this translation helpful? Give feedback.
Answered by
saadeghi
Jun 3, 2022
Replies: 1 comment 1 reply
-
daisyUI's |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
saadeghi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
daisyUI's
drawer
is a wrapper for everything in page. So instead ofbody
,.drawer-content
gets the scroll.See this issue: #333