开发者

Autocomplete window appearing in wrong place for NSTokenField

开发者 https://www.devze.com 2023-04-06 03:12 出处:网络
I have a layer-backed NSTokenField that is in a NSSplitView. The split is initially collapsed, with the token field hidden. When I reveal the token field, it works properly, except that the autocomple

I have a layer-backed NSTokenField that is in a NSSplitView. The split is initially collapsed, with the token field hidden. When I reveal the token field, it works properly, except that the autocomplete menu is in the wrong place: instead of being attached to the field, it appears at the bottom left of the window开发者_运维技巧.

It seems like the menu is positioned before the view is in the window, or something like that.

Anyone else seen this, or have a possible workaround?

0

精彩评论

暂无评论...
验证码 换一张
取 消