You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
melloware
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Nov 10, 2023
Describe the bug
The input mask component currently pastes content at the first empty value position (end of the value) instead of the cursor's selection.
This is directly from the primereact website:
Screen.Recording.2023-11-10.at.12.51.09.PM.mov
Reproducer
https://codesandbox.io/s/primereact-test-forked-7yl2f8
PrimeReact version
10.0.9
React version
17.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
Pasting a value should respect the cursor's start/end selection and then place the cursor at the end of the newly pasted content.
The text was updated successfully, but these errors were encountered: