Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #101990
    xyzzy
    Member

    I have a non-modal Window, if I resize the widow by shrinking it disappears.
    This only occurs if shrink in both axes or shrink in one axis and the other is the same size.
    So if I shrink vertically but grow horizontal and vice-versa, no issues.
    <Window OnClose=@OnOneBiggyCanvasClicked Label=”Single Sample” HeaderButtons=@HeaderButtonsOneBiggy ResizeMode=”WindowResizeMode.Both” IsOpened=@OneBiggyOpen Style=”position:center; width:400px; height:400px;” Modal=”false”>
     
     

    #101991
    admin
    Keymaster

    Hi xyzzy,
    We are unable to reproduce this in our demos. Example: https://www.htmlelements.com/angular/demos/window/resizing/
    Best regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

    #101992
    xyzzy
    Member

    Hi,
    Sent a video of this effect in response to your email.  Does it every time.
    This is a window object with a BECanvas object in it.  Window is launched from a click event on another BECanvas object.
    [caption id="" align="alignnone" width="1639"]code code[/caption]
    Neville

    #101993
    xyzzy
    Member

    <div id=”canvasHolder” style=”position: fixed; width: 100%; height: 100%; left: 0; cursor: @cursor;”>
    <BECanvas Width=@CanvasWidth Height=@CanvasHeight @ref=”CanvasRef”></BECanvas>
    <Window OnClose=@OnOneBiggyCanvasClicked Label=”Single Sample” HeaderButtons=@HeaderButtonsOneBiggy           ResizeMode=”WindowResizeMode.Both” IsOpened=@OneBiggyOpen Style=”position:center; width:400px; height:400px;” Modal=”false”>
    <div id=”canvasHolderOneBiggy” style=”z-index:1000; position: fixed; width: 100%; height: 100%; left: 0px; top:40px;”>
    <BECanvas Width=@OneBiggyWidth Height=”@OneBiggyWidth” @ref=”CanvasOneBiggyRef”></BECanvas>
    </div>
    </Window>
    </div>

    #101994
    xyzzy
    Member

    Sorry, you can close this – not a bug.
    There is an onclick event attached to the BECanvas (attached using JSInterop) that fires a C# method that closes the modal window.  When resizing the window smaller the onclick event on the BECanvas is firing when I was not expecting it to as I’m not clicking on it.  I’ve attached OnResizeStart and OnResizeEnd events to the Window object to switch a flag on and off that the BECanvas onclick event checks (to ensure window is not being resized) before closing the modal window.

    #112491

    <span class=”relative -mx-px my-[-0.2rem] rounded px-px py-[0.2rem] transition-colors duration-100 ease-in-out”>The entertainment industry is also witnessing legal turmoil.</span> <span class=”relative -mx-px my-[-0.2rem] rounded px-px py-[0.2rem] transition-colors duration-100 ease-in-out”>The film “It Ends With Us” has become the center of a multifaceted legal and cultural conflict.</span> <span class=”relative -mx-px my-[-0.2rem] rounded px-px py-[0.2rem] transition-colors duration-100 ease-in-out”>Actress Blake Lively accuses co-star Justin Baldoni of sexual harassment on set, while Baldoni counters that Lively and her husband, Ryan Reynolds, attempted to take over the production.</span> <span class=”relative -mx-px my-[-0.2rem] rounded px-px py-[0.2rem] transition-colors duration-100 ease-in-out”>This dispute has sparked a web of lawsuits and countersuits, drawing in political commentators and igniting debates on gender, Latest Lawsuits  celebrity, and media manipulation.</span>

    #112492

    <p class=”” data-start=”1192″ data-end=”1716″>Dance, on the other hand, brings a unique combination of movement and expression. It is both a form of exercise and a creative outlet. Dancing improves coordination, balance, and rhythm, https://www.exercisemovedance.org/ while also serving as a stress reliever. Whether you’re learning salsa, trying Zumba, or just grooving freely to music, dance allows the body to express emotions that words often can’t. It connects people across cultures and ages, fostering a sense of community and joy. For many, dance is not just an activity but a celebration of life.</p>
    <p class=”” data-start=”1718″ data-end=”2274″></p>

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