A menu or dialog took focus, the open block wrote back and closed, and the overlay handed focus back to a closed input: its command reached nothing and the selection was gone. The block now waits for the overlay to let focus go, and writes back only when focus lands elsewhere. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
43 lines
1.0 KiB
Rust
43 lines
1.0 KiB
Rust
mod backdrop;
|
|
mod caret;
|
|
mod disclosure;
|
|
mod divider;
|
|
mod files;
|
|
mod focus;
|
|
mod ghost;
|
|
mod held;
|
|
mod icon;
|
|
mod image;
|
|
mod layer;
|
|
mod measure;
|
|
mod pressable;
|
|
mod retired;
|
|
mod severity;
|
|
mod tooltip;
|
|
|
|
#[cfg(all(test, feature = "test-support"))]
|
|
mod tests;
|
|
|
|
pub use backdrop::{Backdrop, Place};
|
|
pub(crate) use caret::{caret_bar, caret_width};
|
|
pub use disclosure::Disclosure;
|
|
pub use divider::Divider;
|
|
pub use files::IconTheme;
|
|
pub(crate) use files::{file_icon, icon_theme};
|
|
pub(crate) use focus::{
|
|
CONTEXT as FOCUS_CONTEXT, Takeover, give_back, hand_back, hold_focus, lent, tab_stop,
|
|
take_focus,
|
|
};
|
|
pub use focus::{FocusNext, FocusPrev, FocusRing, FocusScope};
|
|
pub use ghost::DragGhost;
|
|
pub(crate) use held::hold;
|
|
pub use icon::{Icon, IconName};
|
|
pub use image::Image;
|
|
pub(crate) use image::{checked_ratio, framed};
|
|
pub use layer::{Raised, raise};
|
|
pub use measure::{IntersectionObserver, Measure};
|
|
pub use pressable::Pressable;
|
|
pub use retired::Retired;
|
|
pub use severity::Severity;
|
|
pub use tooltip::{HelpTooltip, Tooltip, TooltipTrigger};
|