RTL cursor and keyboard behavior prevents intuitive editing of the date value in Input Date Picker #7186
Labels
1 - assigned
Issues that are assigned to a sprint and a team member.
ArcGIS Online
Issues logged by ArcGIS Online team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
estimate - 5
A few days of work, definitely requires updates to tests.
i18n-l10n
issues dealing with internationalization/localization
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
p - low
Issue is non core or affecting less that 10% of people using the library
research
Issues that require more in-depth research or multiple team members to resolve or make decision.
Milestone
Actual Behavior
In RTL mode, it is difficult to edit portions of the date value with the keyboard in Input Date Picker's input field because the cursor jumps around unexpectedly when editing the value or moving the cursor with the arrow keys. The left arrow key in certain places will move to the right (and the right arrow key moves to the left), such as within moving the cursor between groups of numbers, but in other cases moves the cursor in the same direction as indicated by the key, such as when moving the cursor on either side of the
/
separator between the date values.The Backspace key also doesn't always work as expected. Sometimes hitting backspace will actually remove characters and sometimes it won't depending on the cursor position. Sometimes hitting the
Delete
key will remove a character when theBackspace
key doesn't.Originally posted about here:
The year can be edited from the keyboard - fixed
The day input from the keyboard still does not take effect - not fixed
Originally posted by @Olga8614 in #4569 (comment)
Expected Behavior
Reproduction Sample
https://codepen.io/eriklharper/pen/wvYVvzE
Reproduction Steps
Reproduction Version
1.4.0
Relevant Info
This seems to happen consistently on all browsers, but there could be slight variations in behavior across some.
Regression?
No
Priority impact
p2 - want for current milestone
Impact
No response
Esri team
ArcGIS Online
The text was updated successfully, but these errors were encountered: