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
Do you want to request a feature or report a bug?
A bug
What is the current behavior? <progress value="50" max="100" /> renders with an initial value of 1 in IE and Edge <progress max="100" value="50" /> correctly renders with an initial value of 50 in IE and Edge
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your JSFiddle (https://jsfiddle.net/Luktwrdm/) or CodeSandbox (https://codesandbox.io/s/new) example below: https://jsfiddle.net/1utpfn5s/6/
What is the expected behavior?
I expect that the order of props supplied to <progress /> are irrelevant. In the example above, the initial value of the rendered <progress /> should be 50.
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
At least IE11 and Edge (40) are affected. Chrome and Firefox work fine.
The text was updated successfully, but these errors were encountered:
thomasmaqua
changed the title
progressbar renders incorrectly depending on order of props in IE and Edge
<progress /> renders incorrectly depending on order of props in IE and Edge
Apr 5, 2019
Maybe the solution is to ensure that attribute max is applied first for the progress element?
If that is a breaking change and a no go, then maybe add a warning in development mode?
I assume this is related to whatwg/html#2427, in which case the long-term solution is to fix the spec somehow and then get cross-browser compatibility with that.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contribution.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!
Do you want to request a feature or report a bug?
A bug
What is the current behavior?
<progress value="50" max="100" />
renders with an initial value of1
in IE and Edge<progress max="100" value="50" />
correctly renders with an initial value of50
in IE and EdgeIf the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your JSFiddle (https://jsfiddle.net/Luktwrdm/) or CodeSandbox (https://codesandbox.io/s/new) example below:
https://jsfiddle.net/1utpfn5s/6/
What is the expected behavior?
I expect that the order of props supplied to
<progress />
are irrelevant. In the example above, the initial value of the rendered<progress />
should be50
.Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
At least IE11 and Edge (40) are affected. Chrome and Firefox work fine.
The text was updated successfully, but these errors were encountered: