Hi,
How can i not allow the viewport to be attached to the body tag?
I want to apply a mobile zoom library, but I would need to create a div around a parent element across the screen. and this cannot be done in the body tag...
Printable View
Hi,
How can i not allow the viewport to be attached to the body tag?
I want to apply a mobile zoom library, but I would need to create a div around a parent element across the screen. and this cannot be done in the body tag...
Hello @xdemo, and welcome to Ext.NET Forums!
I am not sure how much this answer will apply to old Ext.NET 1 (and Ext JS 3.x), but in general, a viewport is meant to be bound to the whole page. If a viewport is thefined, the Ext.NET ViewPort component, it means a container taking all the viewable space in the browser window is to take the page, to handle scroll and inner components' dimensions.
In case it is not the desired behavior, the solution would be not to use the ViewPort component to wrap the page. Instead it will be up to the developer to control components layout around the page.
On a second topic, still based on current Ext.NET (which active ones are versions 5 and 7) zooming is not supported at all, so we cannot guarantee a zooming library will interoperate with Ext.NET. Again, it will be up to the developer to implement and adapt the libraries to work as intended.
Hope this helps!