# Hide/show top bar(s) when keyboard appears/disappears

**URL:** <https://forum.obsidian.md/t/hide-show-top-bar-s-when-keyboard-appears-disappears/69610>\
**Category:** Feature requests\
**Created:** [October 18, 2023, 6:50am UTC](https://forum.obsidian.md/t/hide-show-top-bar-s-when-keyboard-appears-disappears/69610 "2023-10-18T06:50:53Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![CawlinTeffid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cawlinteffid/32/82899_2.png) [@CawlinTeffid](https://forum.obsidian.md/u/CawlinTeffid)\
**Post date:** [October 5, 2025, 12:10am UTC](https://forum.obsidian.md/t/hide-show-top-bar-s-when-keyboard-appears-disappears/69610/19 "2025-10-05T00:10:06Z")

</div>

Here’s another workaround snippet. This one is scrolling based, but not in the way that apps typically do it (the differences are detailed in the comment at the top of the snippet).

```auto
/* Make the top bar scroll as part of the page.

A workaround for https://forum.obsidian.md/t/option-to-show-hide-top-bar-s-when-note-is-scrolled-or-just-when-keyboard-is-open/69610.

Doesn't quite achieve the desired behavior; you have to scroll all the way to top to access the bar. Also seems to interfere with the "Go to last line" command.

Written by @kapirklaa https://discord.com/channels/686053708261228577/702656734631821413/1284489126741282816 (pointed out by AForAnglerFishRights / @honeydewmelonbordercollie https://discord.com/channels/686053708261228577/702656734631821413/1423730549092253728)
*/
.workspace-leaf-content[data-type="markdown"] {
  overflow: scroll;
  .view-content {
    overflow: visible;
  }
  .cm-scroller {
    overflow: visible;
  }
}

```

---

_[View the full topic](https://forum.obsidian.md/t/hide-show-top-bar-s-when-keyboard-appears-disappears/69610)._
