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

Groupbox caption not positioned correctly when rendered after load

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 9.5.0.1, 9.5.0.2, 9.5.0.3, 9.5.1, 9.5.1.1, 9.5.1.2, 9.5.1.3, 9.6.0, 9.6.0.1
    • Fix Version/s: 9.6.1
    • Component/s: Components
    • Security Level: Jimmy
    • Labels:
    • Environment:

      Java 17

      ZK 9.6.0.1

      Spring Boot 2.5.6

      ZK Spring Boot 2.3.0

      Description

      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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: