I made interactive prototype of mobile app. On the layout I have a accordion component, when click on it height of accordion are changing. So I need to change position of all objects below accordion. For this I made new timeline where I change position of needed objects. But I can’t change height of scene.
So in this case I need to add css code:
.HYPE_scene {
overflow:unset !important;
}
.HYPE_document {
overflow:unset !important;
}
Maybe you add a checkbox for autoheight of scene? Or add a feature to animate height of scene?
MaxZieb
(Loves Hype)
February 23, 2019, 2:20pm
2
There is a extension for that … look at
↑ extension index
hypeDocument.setCurrentSceneHeight
Sets the current scene height. Beware to do this it need to set the hypeDocument height as well so you should reset scene height on scene changes if you wish to the restore initial state.
/**
* hypeDocument.setCurrentSceneHeight v1.0
* @param {Number} height to set the scene element to
* @require currentSceneElement
*/
hypeDocument.setCurrentSceneHeight = function ( height) {
var cS = hypeDocument.currentSceneElement();
cS.pare…
sa1
(sa1)
February 26, 2019, 9:24am
3
Also you can create a group with a flexible size at the scene top level, set it’s overflow mode to scroll and put your content into it