rm queryselector

pull/1964/head
bunsenstraat 3 years ago
parent a6125df4f6
commit 841a853486
  1. 4
      libs/remix-ui/vertical-icons-panel/src/lib/remix-ui-vertical-icons-panel.tsx

@ -35,8 +35,8 @@ const RemixUiVerticalIconsPanel = ({
dispatchScrollAction({ dispatchScrollAction({
type: 'resize', type: 'resize',
payload: { payload: {
scrollHeight: document.querySelector('#remixuiScrollable')?.scrollHeight, scrollHeight: scrollableRef.current?.scrollHeight,
clientHeight: document.querySelector('#remixuiScrollable')?.clientHeight, clientHeight: scrollableRef.current?.clientHeight,
scrollState: false scrollState: false
} }
}) })

Loading…
Cancel
Save