You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dropdown should render as a Link without any warnings or errors.
Actual Result
Produces the following warning and doesn't navigate to routes without a page reload.
Warning:
Warning: GatsbyLink: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)
Version
0.82.5
Testcase
NOTE: I was unable to reproduce this using @reach/router (which Gatsby's Link is wrapping). Both codesandboxes are below.
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
Bug Report
Steps
Use this project with GatsbyJS, augmenting
Dropdown
as Gatsby'sLink
. It is possible this is an issue with Gatsby Link, not this project.Expected Result
Dropdown
should render as aLink
without any warnings or errors.Actual Result
Produces the following warning and doesn't navigate to routes without a page reload.
Warning:
Version
0.82.5
Testcase
NOTE: I was unable to reproduce this using
@reach/router
(which Gatsby'sLink
is wrapping). Both codesandboxes are below.Not working with
gatsby
(see console on page load):https://codesandbox.io/s/818n63rm8j
Working as expected with
@reach/router
:https://codesandbox.io/s/2wzyo0qvw0
The text was updated successfully, but these errors were encountered: