Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(modal): unsupported debug warning when useflex is used in ie or …
…with detachable false This PR gives full control over the useFlex setting again. Some combinations are not working for correct positioning, which was basically fixed by #1079 and #1096 However, the fixes ignored a possible explicit given useFlex:true and always assumes auto instead (which makes sure the positioning will work all the time) As it turned out here there are some usecases, where people need the explicit setting of useFlex:true, i reverted the logic for the can.useFlex method but added some debug warnings instead when unsupported combinations occur, because the positioning for useFlex:true will not work when: - IE11 is used - detachable:false is used As the default of useFlex is auto, existing code should basically work as before without any visual issues
- Loading branch information