Closed xdarkleonx closed 3 months ago
In portrait orientation backdrop covers all width and works fine, but when you change to landscape backdrop is covering half.
modalConfig = { animationIn: 'fadeIn', animationOut: 'fadeOut', coverScreen: false, swipeDirection: null, } magicModal.show( <ActionMenu style={mainLayout.modal} label={t('diaryMenu')} items={actions} dayItems={fastInsertItems} onValueChange={() => magicModal.hide()} /> , modalConfig )
I found workaround and add deviceWidth to modalConfig. But i think it should be work without setting manually width to modal.
Fixed!
In portrait orientation backdrop covers all width and works fine, but when you change to landscape backdrop is covering half.
I found workaround and add deviceWidth to modalConfig. But i think it should be work without setting manually width to modal.