[Obsolete] Faster switching mobile sidebar tabs (search, bookmarks, etc.)

(This snippet no longer works because the sidebar tab switcher was changed. The new switcher is faster than the old one, so I’ve stopped using the snippet.)

The mobile sidebar takes too many taps to go from (say) Files to Search, compounded by a slow animation.

This CSS snippet speeds the animation. Switching sidebar tabs feels much better to me now!

/* Faster mobile sidebar tab transitions https://forum.obsidian.md/t/faster-switching-mobile-sidebar-tabs-search-bookmarks-etc/60869
Another sailKite special! https://discord.com/channels/686053708261228577/702656734631821413/1079627582892429352 */
.is-mobile .workspace-drawer-tab-container > * {
    transition: all 300ms ease-in-out 0s, transform 100ms ease-in-out 0s !important;
}
6 Likes

Hey, does it do anything still? I tested it and see no difference whatsoever.

No, this was for the old sidebar switcher. The switcher was changed to a dropdown (an OS-provided one, I think), which is faster than the old switcher was. I’ve updated the title and added a note to the post. Thanks!

1 Like