Fix ComboBox widget panic on wasm

This commit is contained in:
Thomas 2023-09-10 10:18:58 +02:00
parent bc1bde0d5c
commit 90bd581d8e

View file

@ -6,6 +6,7 @@ use crate::core::mouse;
use crate::core::overlay;
use crate::core::renderer;
use crate::core::text;
use crate::core::time::Instant;
use crate::core::widget::{self, Widget};
use crate::core::{Clipboard, Element, Length, Padding, Rectangle, Shell};
use crate::overlay::menu;
@ -14,7 +15,6 @@ use crate::{container, scrollable, text_input, TextInput};
use std::cell::RefCell;
use std::fmt::Display;
use std::time::Instant;
/// A widget for searching and selecting a single value from a list of options.
///