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
In the Web Component the fluent-text component has a nowrap attribute with a default value of false. On the React side the same component uses a wrap attribute with a default value of true.
Expected Behavior
I expect both implementations to use the same attribute name and default value. As React is already in production, it probably makes sense to change it on the WC side
In custom elements, an attribute that is predefined as "true" cannot be changed from the view - this is the reason that the attribute name is different. If we kept the name the same, we wouldn't be able to provide the same functionality.
Component
Text
Package version
3.0.0-beta.73
@microsoft/fast-element version
2
Environment
Current Behavior
In the Web Component the fluent-text component has a
nowrap
attribute with a default value offalse
. On the React side the same component uses awrap
attribute with a default value oftrue
.Expected Behavior
I expect both implementations to use the same attribute name and default value. As React is already in production, it probably makes sense to change it on the WC side
Reproduction
https://web-components.fluentui.dev/?path=/docs/components-text--docs
Steps to reproduce
Just look at the storybooks
Are you reporting an Accessibility issue?
None
Suggested severity
High - No workaround
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
The text was updated successfully, but these errors were encountered: