Repository: lapce/lapce (language: rust)

Issue:
[Bug Report] Settings page navigation exceptions
## Lapce Version

0.3.0 

## System information

Windows 11

## Describe the bug
Sometimes, when we click on the navigation on the left side of the settings page, the settings do not jump to the specified position correctly. Especially the ones that are lower down. This is episodic, and the pattern of its appearance is not yet known.
## Additional information

For example, click the tab of "Terminal Settings", it wont jump to the settings about terminal. 
![image](https://github.com/lapce/lapce/assets/19733878/1ce618f0-5fd1-4611-a97d-30d57ce687f4)




Discussion / hints:
As I noted in #2808 the pattern of appearance seems to be fresh loads/renders of the settings page, when content below a certain point has not yet come into view. Maybe this'll make it easier to find the cause

Fix patch:
diff --git a/lapce-app/src/settings.rs b/lapce-app/src/settings.rs
index 4104721300..45ce17ba31 100644
--- a/lapce-app/src/settings.rs
+++ b/lapce-app/src/settings.rs
@@ -487,12 +487,8 @@ pub fn settings_view(
             .style(|s| s.padding_horiz(50.0).padding_vert(20.0)),
             container({
                 scroll({
-                    virtual_stack(
-                        VirtualDirection::Vertical,
-                        VirtualItemSize::Fn(Box::new(|item: &SettingsItem| {
-                            item.size.get().height.max(50.0)
-                        })),
-                        move || settings_data.clone(),
+                    dyn_stack(
+                        move || filtered_items_signal.get(),
                         |item| (item.kind.clone(), item.name.clone()),
                         move |item| {
                             settings_item_view(


Test patch: