Skip to content

Commit 6bd5256

Browse files
fix(input): overwrite cloned-input for ionic theme
1 parent 54597a3 commit 6bd5256

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

core/src/components/input/input.ionic.scss

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,3 +233,19 @@
233233
:host(.has-focus) .input-highlight {
234234
transform: scale(1);
235235
}
236+
237+
// Input Cover: Unfocused
238+
// --------------------------------------------------
239+
// The input cover is the div that actually receives the
240+
// tap/click event when scroll assist is configured to true.
241+
// This make it so the native input element is not clickable.
242+
// This will only show when the scroll assist is configured
243+
// otherwise the .input-cover will not be rendered at all
244+
// The input cover is not clickable when the input is disabled
245+
.cloned-input {
246+
@include position(0, null, 0, null);
247+
248+
position: absolute;
249+
250+
pointer-events: none;
251+
}

0 commit comments

Comments
 (0)