Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-5058

Groupbox caption not positioned correctly when rendered after load

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.6.1
    • 9.5.0.1, 9.5.1, 9.5.1.1, 9.5.1.2, 9.5.1.3, 9.6.0.1
    • Components
    • Security Level: Jimmy
    • Java 17

      ZK 9.6.0.1

      Spring Boot 2.5.6

      ZK Spring Boot 2.3.0

      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

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

              Created:
              Updated:
              Resolved: