Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Issue] Samsung#319 [Problem] Preview element is moved outside of screen [Cause] transform: translate(-50%, -50%) is not removed from closet-preview-container. This happens because getBoundingClientRect on closet-design-editor-frame returns 0 since its visibility is set to hidden for remote samples in order not to show design editor and go to preview directly. [Solution] Remove transform: translate(-50%, -50%). [Test] 1. Go to the page http://localhost:3000/demos?path=1.0%2Fexamples%2Fmobile%2FUIComponents%2Fcomponents%2Fnavigationelements%2Fpanel%2Findex.html 2. Open the preview. 3. Preview should be placed in the centre of screen. Signed-off-by: Grzegorz Czajkowski <g.czajkowski@samsung.com>
- Loading branch information