Skip to content

Commit

Permalink
docs(DrawerList): prevents change of direction when scrolling (#2233)
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored and tujoworker committed May 31, 2023
1 parent 2c64033 commit ccb213c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export const DrawerListExampleDefault = () => (
on_show={() => {
console.log('on_show')
}}
observer_element=".dnb-live-preview" //prevents direction to change when scrolling in this example
/>
</ComponentBox>
</Wrapper>
Expand Down Expand Up @@ -165,6 +166,7 @@ export const DrawerListExampleSingleItem = () => (
suffix={
<HelpButton title="Modal Title">Modal content</HelpButton>
}
observer_element=".dnb-live-preview" //prevents direction to change when scrolling in this example
/>
)
}}
Expand Down

0 comments on commit ccb213c

Please sign in to comment.