Open SampsonCrowley opened 3 years ago
Couldn't find version numbers for the following packages in the issue:
@react-navigation/native
Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.
fine, I added native
version number event though it's completely irrelevant to the offending line of code
I wonder... this issue was resolved in v5 now, but still alive in v6, right ??
So, may I make pull request for this issue of v6 ? If it's ok, I'd like to do it 🙇🏻
Is this issue still open> If yes I would like to work on this :)
Current Behavior
the current
DrawerItem
passesaccessibilityState
toLink
. this is an invalid attribute forrole="link"
Expected Behavior
also exclude
accessibilityState
fromLink
in the defaultDrawerItem
all that really needs to be done is add a line under this line with
accessibilityState
, to exclude it fromrest
, and pass it manually toPlatformPressable
I would open a simple PR, but I'm on a phone and I don't have time to write tests or a computer at the moment.
How to reproduce
Here's a simple snack: https://snack.expo.io/x4ass6Am_
Your Environment
(other items in the table are irrelevant, as the offending code only exists in the lines of code I linked above)