Groupbox caption not positioned correctly when rendered after load

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 9.6.1
    • Affects Version/s: 9.5.0.1, 9.5.1, 9.5.1.1, 9.5.1.2, 9.5.1.3, 9.6.0.1
    • Component/s: Components
    • Security Level: Jimmy
    • Environment:

      Java 17

      ZK 9.6.0.1

      Spring Boot 2.5.6

      ZK Spring Boot 2.3.0

    • None

      Groupbox caption is not positionned correctly when loaded dynamically (i.e. inside a shadow component).

      Simply resizing the browser fixes the problem.

      Steps to Reproduce

      Create a groupbox component with a caption, and display it dynamically (i.e. from inside a shadow component).

      I have created a ZK fiddle that reproduces the problem : https://zkfiddle.org/sample/3t3nu8v/2-Groupbox-caption-not-positioned-correctly-on-dynamic-load

      Current Result

      The caption is not positioned correctly

      Expected Result

      The caption is positionned correctly

      Debug Information

      Seem to appear since version 9.0.1.2.

      Tested with Firefox, Chrome and Edge.

      Workaround

            Assignee:
            jumperchen
            Reporter:
            YannUnil
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: