-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Bugfix: v4.0.0rc3 feedback
#3532
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thank you for your contribution to Dash! 🎉 |
fe13441 to
566107b
Compare
| const isEquivalent = (v1: number, v2: number) => | ||
| v1 === v2 || (isNaN(v1) && isNaN(v2)); | ||
|
|
||
| export enum HTMLInputTypes { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is moved to types.ts
| // eslint-disable-next-line no-magic-numbers | ||
| const HIDE_AT_WIDTH = value.length === 1 ? 200 : 250; | ||
| // eslint-disable-next-line no-magic-numbers | ||
| const SHOW_AT_WIDTH = value.length === 1 ? 300 : 450; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hiding/showing is now done in CSS.
T4rk1n
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💃
… do not support this natively)
Summary of key fixes:
fixedtoabsolutepositioningautoComplete=falseindcc.Input.dcc.Inputwidth to be "100%" by default, which matches the other components.dcc.Tabs.Fixes https://github.com/plotly/ddk-dash-docs/issues/3605, #3531