Skip to content

[HOLD on #3381] Selecting, copying, and pasting text on web and desktop are weird and in inverted order #1341

@puneetlath

Description

@puneetlath

If you haven’t already, check out our contributing guidelines for onboarding!


Upwork job: https://www.upwork.com/jobs/~0195a298f26a002c08

NOTE: We are only looking for proposals on fixing this directly in https://github.com/facebook/react-native. Example issue addressing this accessibility issue facebook/react-native#30373
We are not looking for a work-around in our repo

Platform - version:
Web and Desktop.

Action Performed (reproducible steps):
Attempt to select text across multiple chat inputs. You will find that it is difficult to select text across multiple chat inputs. Then, once you have managed to select multiple lines of text, try pasting that text. You will find that the order of the text has been inverted.

Expected Result:
That it would be easy to select text across chat inputs and that when copying and pasting the text it would retain itss order.

Actual Result:
The text is difficult to select and pastes in inverted order.

Notes/Photos/Videos:
image

image

We use Flatlist for rendering the list of chat messages. We use the inverted prop which reverses the scroll direction on mobile. We then use react-native-web for web and desktop. The ideal solution would fix this upstream, either in React Native or react-native-web. You can see an example of the problem here: https://codesandbox.io/s/cold-wave-grzpj?file=/src/App.js

Metadata

Metadata

Labels

PlanningChanges still in the thought processWeeklyKSv2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions