Tuesday, February 3, 2026

Tahoe NSTableView Scrolling Bug

Sarah Reichelt (Mastodon):

[When] I scrolled down from the top, the content rows would scroll into the header, making the top messy and unreadable. This sort of overlapping and unreadable text is a feature of the various OS 26s, but in this case, there wasn’t a hint of transparency, so it looked like a bug to me. […] This exact layout worked fine on earlier versions of macOS, but as is often the case with all the OS 26s, things that used to work no longer do.

[…]

I reversed that change and then added space below the table view. Bingo! […] If a table doesn’t stretch from top to bottom of its view controller’s content view, in macOS Tahoe, the content will scroll into the header.

[…]

I ended up spacing the table view 1 point down from the top and 1 point in from the left of its enclosing view. The left spacing is not required but it makes the layout look more symmetrical. This prevents the bug from occurring and allows me to add the content I want underneath the table[…] I don’t think it looks as neat and clean as the original layout, but at least it works.

Brian Webster:

I just solved something different, but what feels like might have been caused by whatever the same underlying issue is.

In my case, it was a table view inside a sidebar whose content scrolled up underneath the toolbar without the toolbar applying a blur. The culprit was that the enclosing scroll view had a border type chosen. Changing the scroll view to no border made the toolbar render a blur correctly over the table view content. 🤷‍♂️

Comments RSS · Twitter · Mastodon

Leave a Comment