We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

v3d-container not filling parent div after appendChild????

Home Forums General Questions v3d-container not filling parent div after appendChild????

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #50672
    sirhc
    Customer

    Hi Verge’rs :bye:
    I was experimenting with my new made template I wanna use for future projects…
    It’s has scalable menu’s and detects screen aspect ratio’s.
    I first set it up in pure html and it did what I wanted it to do.
    We had some issues with the requestFullscreen() on Ipad (it snaps outta it on text input for some reason)….
    So I made a ‘fullscreen’ function which is more like a body fullscreen.
    It loads my ‘ConfiguratorHolder'(= menus + v3d-container) into a div and hides the scrollbar etc etc. It works pretty well,……The problem is: when I appendChild the configuratorHolder, the v3d-container doesn’t seem to fill out the space(red) :wacko:
    When I resize the window it snaps back to fill the parent div,(see My-Recording_Trim.mp4 )
    Anyone any Idea’s how to fix improve this???
    Any help would be much apricated!!! :bye: :bye:

    ProjectLink:
    https://cdn.soft8soft.com/AROAJSY2GOEHMOFUVPIOE:95a3606e33/applications/my_awesome_Cube4Ronald/indexcvk4.html

    Attachments:
    You must be logged in to view attached files.

    Technical Artwork Specialist@TBL.nl

    #50682

    Try to add puzzle Set Screen Scale=1 after enter\exit fullscreen mode.

    Co-founder and lead graphics specialist at Soft8Soft.

    #50690
    sirhc
    Customer

    Awesome,…..worked like a charm :rose:

    Technical Artwork Specialist@TBL.nl

    #50706

    :good:

    Co-founder and lead graphics specialist at Soft8Soft.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.