We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a4e93f commit f621777Copy full SHA for f621777
packages/docusaurus-theme-openapi-docs/src/theme/SchemaTabs/index.tsx
@@ -99,12 +99,14 @@ function TabList({
99
};
100
}, []);
101
102
- const handleRightClick = () => {
103
- tabItemListContainerRef.current!.scrollLeft += 90;
+ const handleRightClick = (e) => {
+ e.preventDefault();
104
+ tabItemListContainerRef.current.scrollLeft += 90;
105
106
- const handleLeftClick = () => {
107
- tabItemListContainerRef.current!.scrollLeft -= 90;
+ const handleLeftClick = (e) => {
108
109
+ tabItemListContainerRef.current.scrollLeft -= 90;
110
111
112
return (
0 commit comments