NSToolbar Space item rendered with Liquid Glass Background

Hi,

I have a NSToolbar in my Mac Catalyst app with a space and flexible space item in it (https://developer.apple.com/documentation/appkit/nstoolbaritem/identifier/space).

On macOS Tahoe the space item is being rendered with a Liquid Glass effect and seems to be automatically grouped with the previous item. Is there a way to prevent this? It basically adds some undesired padding next to the previous item and looks add. The flexible space is rendered normally and as before.

I am talking about the space right next to the back chevron item.

Thanks for any hints!

Answered by Frameworks Engineer in 857658022

Spacer items (space and flexibleSpace) should be excluded from the glass background. We've been unable to reproduce this issue on our end; could you please use Feedback Assistant to write a bug with some sample code so that we can dig in further? If you post the FB number here I can route it faster.

Spacer items (space and flexibleSpace) should be excluded from the glass background. We've been unable to reproduce this issue on our end; could you please use Feedback Assistant to write a bug with some sample code so that we can dig in further? If you post the FB number here I can route it faster.

NSToolbar Space item rendered with Liquid Glass Background
 
 
Q