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.

Missing separators after onPress toggling other cells

See original GitHub issue

First 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:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Puriicommented, May 2, 2020

Good to hear!

Feel free to close this issue if it works for you now 👍

1reaction
philo23commented, May 2, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

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