Repository navigation
Is anyone else struggling with "positioning" in a combobox in React v9? #32047
|
I appreciate that this is a known and default behavior for it to move itself around because otherwise the items would get clipped off-screen, but if the client wants to force it to stay put, the more material concern for me is none of the props, either string or shorthand, seem to affect the behavior at all: In the docs it makes mention of the existence of such a prop: But the old shorthands don't work: Would appreciate any clarification. |
Replies: 1 comment 9 replies
|
|



vincentjflorio you need to use the
pinnedprop for this. You can see it working in the following stackblitz by commenting and uncommenting thepinnedprop.This is what it looks like directly as a GIF.
Not pinned:
Pinned:
Hopefully that helps!