Skip to content

Commit 315aff8

Browse files
alesiahilKomzpa
andauthored
fix(toolbar): enable mouse wheel horizontal scroll (#1246)
* fix(toolbar): 21890 enable mouse wheel horizontal scroll * Delete src/features/toolbar/components/ToolbarContent/ToolbarContent.test.tsx --------- Co-authored-by: Darafei Praliaskouski <darafei@kontur.io>
1 parent 16eee94 commit 315aff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/toolbar/components/ToolbarContent/ToolbarContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const ToolbarContent = () => {
1111
useWheelHorizontalScroll(scrollRef);
1212

1313
return (
14-
<div className={s.toolbarContent}>
14+
<div ref={scrollRef} className={s.toolbarContent} data-testid="toolbar-content">
1515
{toolbarContent.map(({ id, settings, stateAtom }) => (
1616
<ToolbarControl
1717
id={id}

0 commit comments

Comments
 (0)