grommet / grommet-site

Site for Grommet v2
Apache License 2.0
32 stars 64 forks source link

Header documentation has incorrect sticky prop value #475

Closed CopyJosh closed 1 year ago

CopyJosh commented 1 year ago

Header component documentation incorrectly references the scrollup value of the sticky prop.

In the screenshot observe sticky = "scrollUp" should be all lowercase, sticky = "scrollup" as referenced in the code,

if (target && sticky === 'scrollup')

Screenshot 2023-05-23 at 11 41 48 AM

Thanks!

jcfilben commented 1 year ago

Thanks for reporting this issue! I just created a pull request to get this resolved