You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, with new version, 5.2.1, I stucked with trouble in existence project. When parent component, with Select inside, has property "display: grid", Select is starting to go beyond parent element. It happens only in Firefox browser. Mac OS or Windows no matter. Please, anybody explain this behavior.
code:
import Select from 'react-select';
export const options = [
{ value: 'ocean', label: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', color: '#00B8D9', isFixed: true },
{ value: 'blue', label: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', color: '#0052CC', isDisabled: true },
];
function App() {
return (
<div style={{display: 'grid', margin: '20px 700px'}}>
<Select options={options}/>
</div>
);
}
export default App;
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, with new version, 5.2.1, I stucked with trouble in existence project. When parent component, with Select inside, has property "display: grid", Select is starting to go beyond parent element. It happens only in Firefox browser. Mac OS or Windows no matter. Please, anybody explain this behavior.
code:
Firefox
Chrome
Beta Was this translation helpful? Give feedback.
All reactions