v.12.43 bug fix
This commit is contained in:
@@ -137,7 +137,7 @@ function TimeInputMobile({ value, onChange }) {
|
||||
ref={listRef}
|
||||
style={{
|
||||
position: 'fixed',
|
||||
zIndex: 400,
|
||||
zIndex: 9999,
|
||||
background: 'var(--surface)',
|
||||
border: '1px solid var(--border)',
|
||||
borderRadius: 8,
|
||||
@@ -147,6 +147,7 @@ function TimeInputMobile({ value, onChange }) {
|
||||
overflowY: 'auto',
|
||||
bottom: keyboardOffset > 0 ? keyboardOffset + 10 : 'auto',
|
||||
top: keyboardOffset > 0 ? 'auto' : '100%',
|
||||
pointerEvents: 'auto',
|
||||
}}
|
||||
>
|
||||
{TIME_SLOTS.map(s => (
|
||||
|
||||
@@ -205,11 +205,12 @@ function TimeInput({ value, onChange, style }) {
|
||||
<div
|
||||
ref={listRef}
|
||||
style={{
|
||||
position: 'absolute', top: '100%', left: 0, zIndex: 300,
|
||||
position: 'absolute', top: '100%', left: 0, zIndex: 9999,
|
||||
background: 'var(--surface)', border: '1px solid var(--border)',
|
||||
borderRadius: 'var(--radius)', boxShadow: '0 4px 16px rgba(0,0,0,0.15)',
|
||||
width: '100%', minWidth: 120,
|
||||
maxHeight: 5 * 36, overflowY: 'auto',
|
||||
pointerEvents: 'auto',
|
||||
}}
|
||||
>
|
||||
{TIME_SLOTS.map(s => (
|
||||
|
||||
Reference in New Issue
Block a user