question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android crash importantForAccessibility

See original GitHub issue

Hi, The component is working great except on Android device where my app crashes when the picker opens with the error:

image

It seems to come from this line in the renderOption method:

importantForAccessibility={isFirstItem}

which receives a boolean instead of one of the accepted values.

Versions:

"react-native": "0.62.0",
"react-native-modal-selector": "^2.0.0"

Thanks in advance !

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

0reactions
peacechencommented, Apr 16, 2020

Published in 2.0.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Principles for improving app accessibility - Android Developers
If an element in your UI exists only for visual spacing or visual appearance purposes, set its android:importantForAccessibility attribute ...
Read more >
android - Accessibility related exception when using ...
In my bug tracking system I saw a lot of crashes related to accessibility and I was able to reproduce the same crash...
Read more >
Accessibility in the Android world | by Nav Singh
One of the main ways that Android enables accessibility is by allowing users to hear… ... android:importantForAccessibility="no".
Read more >
Android - accessibility crashes - JUCE Forum
Hi JUCE devs, Seen a small number of crash reports via our automated crash reporting systems: ...
Read more >
Using Accessibility Best Practices in Android Development
When you develop Android apps with accessibility in mind, ... purely decorative element “android important For Accessibility Attribute”
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found