Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cursor misalignment in SearchField when left node is present
When a left-side node is added to the SearchField component, clicking inside the text field does not position the cursor correctly. This commit overrides the getIndex method in SearchFieldEditorSkin to adjust the x-coordinate by subtracting the width of the left node before invoking the superclass method. This correction ensures that the cursor accurately reflects the user's click position within the text field, even when a left node is present.
- Loading branch information