Merge pull request #2078 from Nisatru/fix-combo-box

Fix `ComboBox` widget panic on wasm
This commit is contained in:
Héctor Ramón 2023-09-11 00:20:04 +02:00 committed by GitHub
commit 4fe69c83f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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.
///