mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-03 05:04:51 +08:00
Fix bug where Sidebar input refreshed on 'Enter' (#7342)
Fix bug where Sidebar input refreshed on 'Enter'
This commit is contained in:
commit
438699b060
@ -104,6 +104,7 @@ export const PureSidebarSearch = ({ focussed, onSetFocussed, className, onChange
|
||||
focussed={focussed}
|
||||
className={className}
|
||||
onReset={() => onChange('')}
|
||||
onSubmit={e => e.preventDefault()}
|
||||
>
|
||||
<FilterField
|
||||
type="text"
|
||||
|
Loading…
x
Reference in New Issue
Block a user