adobe / adobe/react-spectrum

ComboBox Popover doesn't update if Input position changes

Open
#6,424 1 comment 0 reactions 0 assignees View on GitHub
Overlay Positioning Overlays
Dominant language
TypeScript
Stars
15.9k
Forks
1.6k
Avg merge
3d 9m
Merged PRs (30d)
59

Description

### Provide a general summary of the issue here

ComboBox Popover doesn't update its position when the position of Input changes.

### 🤔 Expected Behavior?

Popover changes it position to be below input always.

### 😯 Current Behavior

ComboBox Popover doesn't update its position when the position of Input changes.

### 💁 Possible Solution

IntersectionObserver between Popover and Input?

### 🔦 Context

image
image

### 🖥️ Steps to Reproduce

https://codesandbox.io/p/sandbox/black-leaf-n9fqhw

### Version

3.35.0

### What browsers are you seeing the problem on?

Chrome

### If other, please specify.

_No response_

### What operating system are you using?

Windows

### 🧢 Your Company/Team

_No response_

### 🕷 Tracking Issue

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.