Missing separators after onPress toggling other cells
See original GitHub issueFirst of all, this little library is great for putting together quick tableview layouts, so thanks for the great work! 👍
Probably the easiest way to explain this bug is by seeing it in action, so here’s a quick snack with two examples in it: https://snack.expo.io/@philo23/quiet-scone
Basically when you toggle the visibility of other cells inside a <Section>, the separators between the one you pressed on and the new cells seem to disappear. If the other cells are not pressable, the separator stays hidden. But if the other cells are pressable, the separator returns when you press on one of the other cells.
As far as I can tell, this affects both iOS and Android, but not the web version for some reason.
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
makefile:4: *** missing separator. Stop - Stack Overflow
When copy/pasting from one makefile to another using the vi (or vim) editor be sure not to accidentally grab the ~ (tilde) line...
Read more >Type '{}' is not assignable to type 'ReactNode'. #35986 - GitHub
The issue is that after upgrading to the last nextjs version, I am getting the error Type 'Component<{}, any, any>' is not assignable...
Read more >HTML 5.2: 4.10. Forms - W3C
This section attempts to illustrate the difference between the three attributes and provides advice suggesting how to use them. The type ...
Read more >ARIA: button role - Accessibility - MDN Web Docs
The aria-pressed attribute defines the button as a toggle button. ... But if another tag is used to create a button, the onclick...
Read more >ListView - Android Developers
private class MyAdapter extends BaseAdapter { // override other abstract methods ... android:accessibilityTraversalAfter, Sets the id of a view after which ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Good to hear!
Feel free to close this issue if it works for you now 👍
Just fixed my previous comment, looks like GitHub markdown was eating some of the
< />tags… hopefully it should make a bit more sense now! Basically it seems like<TouchableHighlight />isn’t firing off the onPressOut callback to un-highlight the row when you mess with the children of the<Section>presumably because somethings getting unmounted midpress? Not sure.And I can definitely see the same issue on my iOS simulator, it’s where I first noticed it. Let me try re-running that snack on my device though.
Edit: Yep, its still missing there.