Closed HJK181 closed 1 month ago
The input has the width of any regular input. It's default width is determined by the browser. We are not enforcing any minimal width to avoid conflicting with the layout you are using.
Here is an example using a flex container
Another reason we don't want to enforce any default width is that this default value would have to depend on the format and thus on the user locale. This would make the integration of the field in a real form quite complex.
It's default width is determined by the browser.
This doesn't seem to be true, as for both screenshots Chrome was used. The difference is just the OS.
So you say it's just a coincidence that on Chrome, Firefox on Linux the width of the input is just wide enough to fit the complete input value?
So you say it's just a coincidence that on Chrome, Firefox on Linux the width of the input is just wide enough to fit the complete input value?
Yes
This doesn't seem to be true, as for both screenshots Chrome was used. The difference is just the OS.
The browser might have a default behavior based on some other attributes (device, OS, screen dimension). But we are not applying any custom logic to make sure the width fits the content.
Ok, thanks. The issue can be closed than.
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.
[!NOTE] We value your feedback @HJK181! How was your experience with our support team? We'd love to hear your thoughts in this brief Support Satisfaction survey. Your insights help us improve!
Steps to reproduce
Link to live example: https://stackblitz.com/edit/react-n6enhx?file=Demo.tsx
Steps:
Current behavior
The selected input data range value is not fully visible on MAC but on different OS like Linux.
MAC: Linux:
Expected behavior
The complete value of the date range picker value is visible regardless of the OS
Context
No response
Your environment
see the stackblitz package.json
Search keywords: DateRangePicker truncated MAC Order ID: 85015