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
Strange behaviour when writing a time on inputText of the Calendar component
The behaviour occur only when the component has a value and the props timeOnly, mask="99:99" and showOnFocus={false}. It does not happen when showOnFocus={true}
After focusing the input and tart typing, the input doesn't show anything until two characters have been typed and then the cursor appears at the beginning of the input therefore, the first character you typed is pushed to the end of whatever your typing
Asderel
changed the title
Component: Calendar
Calendar: Inconsistent behaviour on underlying InputText when applying a mask and not showing overlay
Dec 1, 2022
Asderel
changed the title
Calendar: Inconsistent behaviour on underlying InputText when applying a mask and not showing overlay
Calendar: Inconsistent behaviour on underlying InputText
Dec 1, 2022
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
Dec 2, 2022
Describe the bug
Strange behaviour when writing a time on inputText of the Calendar component
The behaviour occur only when the component has a value and the props timeOnly, mask="99:99" and showOnFocus={false}. It does not happen when showOnFocus={true}
After focusing the input and tart typing, the input doesn't show anything until two characters have been typed and then the cursor appears at the beginning of the input therefore, the first character you typed is pushed to the end of whatever your typing
Reproducer
https://codesandbox.io/s/primereact-test-forked-uz7go2
PrimeReact version
8.7.2
React version
17.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
Chrome
Steps to reproduce the behavior
Expected behavior
The text was updated successfully, but these errors were encountered: