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
Currently, Guide assumes there will always be more than one page, so the PageControl is always displayed under the image. However, when there is only one page, that control can be distracting and is useless. This issue is about hiding the PageControl when only one page is available.
Step-by-step reproduction instructions
In the Storybook page for the Guide component, set the numberOfPages to 1.
Notice the blue dot of the PageControl is still visible:
Expected behaviour
If there is only one page, the PageControl shouldn't be displayed.
The text was updated successfully, but these errors were encountered:
Description
Currently,
Guide
assumes there will always be more than one page, so thePageControl
is always displayed under the image. However, when there is only one page, that control can be distracting and is useless. This issue is about hiding thePageControl
when only one page is available.Step-by-step reproduction instructions
Guide
component, set thenumberOfPages
to 1.PageControl
is still visible:Expected behaviour
If there is only one page, the
PageControl
shouldn't be displayed.The text was updated successfully, but these errors were encountered: