这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@leewyatt
Copy link
Collaborator

Fix: When a left-side node is added to the SearchField component, clicking inside the text field does not position the cursor correctly.

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.
@sonarqubecloud
Copy link

@dlemmermann dlemmermann merged commit 88ad30e into master Oct 25, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants