Keep not-allowed cursor on disabled SearchSelect input
Excluding the inner search box from the global disabled rule also dropped its cursor: not-allowed, so the pointer flickered between not-allowed (wrapper) and the text I-beam (input) when moving across the disabled widget. Add disabled:cursor-not-allowed to the search input so the cursor stays consistent. e2e: assert the disabled inner input computes cursor: not-allowed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -3430,6 +3430,11 @@
|
||||
outline-style: none;
|
||||
}
|
||||
}
|
||||
.disabled\:cursor-not-allowed {
|
||||
&:disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
.has-\[\:disabled\]\:cursor-not-allowed {
|
||||
&:has(*:is(:disabled)) {
|
||||
cursor: not-allowed;
|
||||
|
||||
Reference in New Issue
Block a user