Discussion
Loading...

Post

  • Log in
  • Sign up
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
dansup
dansup
@dansup@mastodon.social  ·  activity timestamp 6 months ago

While React Native <Text> components do support a `selectable` prop, you can only copy the whole block of text.

BlueSky wrote an awesome library to handle proper selection as most users desire.

Now using it in the new Loops app, and soon in the Pixelfed app ✨

https://github.com/bluesky-social/react-native-uitextview

#loops #pixelfed #bluesky #reactNative

Loops mobile app comments modal showing selectable text
Loops mobile app comments modal showing selectable text
Loops mobile app comments modal showing selectable text
#reactnative #loops #pixelfed #bluesky
  • Copy link
  • Flag this post
  • Block
meowki
meowki
@meowki@meowstodon.eu  ·  activity timestamp 6 months ago

@dansup boosting this because this is such a small thing that actually prevents a lot of annoyance in daily use. Thanks for caring about the details.

  • Copy link
  • Flag this comment
  • Block
Matt
Matt
@matt@oslo.town  ·  activity timestamp 6 months ago

@meowki @dansup

I guess that explains why so many apps have such a hideous text-selection experience

* (and possibly adding another reason for my dislike of React)

  • Copy link
  • Flag this comment
  • Block
Instance logo
bonfire.cafe
Log in Create account
Banner for bonfire.cafe

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire bovenjan · 1.0.3-alpha.10 no JS en
Federation disabled
Instance logo
  • Explore
  • About
  • Members
  • Code of Conduct

Install bonfire.cafe

Get the full app experience

1 Tap Share 2 Add to Home Screen