MacDownApp / MacDownApp/macdown
Hidden editor or preview don’t hide scroll bar
- Dominant language
- Rich Text Format
- Stars
- 9.8k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
I’m currently researching how different Mac apps handle hidden NSSplitView panes. I just tried what MacDown does.
Hiding/collapsing a view leaves the scrollbar unhidden.
This is not an issue for the majority of people who are using a trackpad. With this setup, there is no scrollbar unless you require it. I have verified that with a trackpad and no mouse/other pointing device connected MacDown shows no scrollbars unless necessary.
I have not looked into it more deeply, but I would guess that the NSScrollViews’ subview is collapsed instead of the NSScrollViews themselves.
Contributor guide
Research direction
Reproduce the issue in MacDown with a mouse or other pointing device, then inspect how the hidden NSSplitView panes and their NSScrollViews are handled. Done means the editor or preview scrollbar is also hidden when its pane is collapsed, while necessary scrollbars still appear.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, objective-c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100