fix: assign id_container to page_view scrollable

This commit is contained in:
Michael Aaron Murphy 2024-07-31 09:07:35 +02:00
parent 9c8d2a0c9f
commit a4b9b45348
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -756,12 +756,16 @@ impl SettingsApp {
} }
} }
let view = self.page_container(settings::view_column(sections_column).padding(0)); let view = self
.page_container(settings::view_column(sections_column).padding(0))
.apply(scrollable)
.height(Length::Fill)
.apply(|w| id_container(w, self.id()));
widget::column::with_capacity(3) widget::column::with_capacity(3)
.push(self.page_container(header)) .push(self.page_container(header))
.push(widget::vertical_space(24)) .push(widget::vertical_space(24))
.push(scrollable(view).height(Length::Fill)) .push(view)
.height(Length::Fill) .height(Length::Fill)
.into() .into()
} }