Skip to content

Conversation

ihsanberkozcan
Copy link
Contributor

fixed #8057

@rtivital rtivital merged commit ddf7ad8 into mantinedev:master Jul 22, 2025
1 check passed
@rtivital
Copy link
Member

Thanks!

@ikapta
Copy link
Contributor

ikapta commented Jul 31, 2025

PasswordInput component caret invisble. This occurs because the PasswordInput input component is rendered as a div, which is a :not(:read-write) element will selected by :read-only

MDN

Important

The :read-only pseudo-class matches any element that does not match :read-write, effectively equivalent to :not(:read-write).

image

Proposed Solution

update the CSS to target only input elements with :read-only.

 &:is(input):read-only {
    caret-color: transparent;
  }

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.

Select cursor display even when not searchable on Firefox only
3 participants