osstotalsoft / rocket-ui-ts

A collection of reusable and composable React components written in TypeScript built on top of Material UI Core V5
MIT License
19 stars 4 forks source link

Configurable fullScreen option for Dialog #62

Closed st-angelo closed 1 year ago

st-angelo commented 1 year ago

Latest version

Description

The Dialog component becomes fullScreen on small screens and the behavior cannot be overridden even when passing 'fullScreen' false. There should be an option 'fullOnSmallScreen' (by default true, to preserve current functionality) that can be passed to override this behavior.

st-angelo commented 1 year ago

fullOnSmallScreen wasn't added. Instead if fullScreen is passed explicitly as false, the behavior is achieved.