Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't select alt text #1445

Closed
Tracked by #1675 ...
mozzius opened this issue Sep 13, 2023 · 3 comments
Closed
Tracked by #1675 ...

Can't select alt text #1445

mozzius opened this issue Sep 13, 2023 · 3 comments
Assignees
Labels
bug Something isn't working x:planned We're on it!

Comments

@mozzius
Copy link
Member

mozzius commented Sep 13, 2023

Describe the bug

Alt text is not selectable, because <Pressable> goes to <button> on web, which is not selectable by default

To Reproduce

Steps to reproduce the behavior:

  1. Open an image with alt text
  2. Try and select the text

Expected behavior

Text is selectable (may want to copy it for example)

Screenshots

Screenshot 2023-09-13 at 13 36 04 (I added `user-select: text` in dev tools in order to select the word "text")

Details

  • Platform: Web

Additional context

You can fix it by adding user-select: text to the <Pressable>

@mozzius mozzius added the bug Something isn't working label Sep 13, 2023
@pfrazee pfrazee added the x:planned We're on it! label Sep 13, 2023
@ansh
Copy link
Contributor

ansh commented Sep 14, 2023

Solution is similar to #969 which I'm currently assigned to. @gaeoron let me know if you want to do it otherwise I can just wrap it up

@ghost
Copy link

ghost commented Sep 16, 2023

also want to add, that we cant select alt text on android

@gaearon gaearon changed the title [web] Can't select alt text Can't select alt text Sep 19, 2023
@gaearon
Copy link
Collaborator

gaearon commented Sep 19, 2023

I removed the [web] from the title since it's useful to be able to select on other platforms too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working x:planned We're on it!
Projects
None yet
Development

No branches or pull requests

5 participants