Skip to content

Commit

Permalink
Change layout to improve reading flow
Browse files Browse the repository at this point in the history
  • Loading branch information
joserodolfofreitas committed Mar 13, 2023
1 parent 1ba82ba commit c707938
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/pages/blog/v6-beta-pickers.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ Not only can you type the date as text, but you can also use arrow keys to navig
<source src="/static/blog/v6-beta-pickers/date-field-navigation.mp4" type="video/mp4" />
</video>

For a quick comparison, let's check out how the old and new approaches behave in typical scenarios.

<video style="margin-bottom:24px" autoplay muted loop playsinline >
<source src="/static/blog/v6-beta-pickers/quick-comparison-fields.mp4" type="video/mp4" />
</video>

Moreover, notice in the following example that as we edit the day, the component automatically navigates only in valid values.

<video style="margin-bottom: 5px; width: 608px;" autoplay muted loop playsinline >
Expand All @@ -73,12 +79,6 @@ In the previous example, updating the day value from 28 to 1 would also update t
On the stable version, released after the original post, this behavior [has been changed](https://github.com/mui/mui-x/issues/7934), and each date section became independent.
:::

For a quick comparison, let's check out how the old and new approaches behave in typical scenarios.

<video style="margin-bottom:24px" autoplay muted loop playsinline>
<source src="/static/blog/v6-beta-pickers/quick-comparison-fields.mp4" type="video/mp4" />
</video>

Please, try it out for yourself in the live demo below.

<iframe
Expand Down

0 comments on commit c707938

Please sign in to comment.