seatgeek / react-infinite

A browser-ready efficient scrolling container based on UITableView
Other
2.71k stars 273 forks source link

Breadcrumbs popup in wrong position when overflow is auto #291

Closed shravan2x closed 4 years ago

shravan2x commented 4 years ago

Putting a <Breadcrumbs /> in a div with overflow: auto set causes it to be wrongly positioned. Example:

<div style={{overflow: 'auto'}}>
    <Breadcrumbs items={[
        {text: 'T'},
        {text: 'path'},
        {text: 'root'},
        {text: 'long'},
        {text: 'some'},
        {text: 'some long test string some long test string some long test string some long test string some long test string '},
    ]} />
</div>

image

shravan2x commented 4 years ago

Sorry, wrong repo.