Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(input): apply position to .cloned-input only for native themes #30337

Merged
merged 2 commits into from
Apr 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions core/src/components/input/input.common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@
// otherwise the .input-cover will not be rendered at all
// The input cover is not clickable when the input is disabled
.cloned-input {
@include position(0, null, 0, 0);

position: absolute;

pointer-events: none;
Expand Down
6 changes: 6 additions & 0 deletions core/src/components/input/input.native.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
--highlight-color-focused: #{current-color(base)};
}

// Input Cover: Unfocused
// --------------------------------------------------
.cloned-input {
@include position(0, null, 0, 0);
}

// Input Wrapper
// ----------------------------------------------------------------

Expand Down
Loading