Skip to content

Sticky header floating under top when there is no buttons in the toolbar #23230

@OleksiiBulba

Description

@OleksiiBulba

Preconditions (*)

  1. Install Magento 2.3.1
  2. Create module Vendor_Module

Steps to reproduce (*)

  1. Create listing grid without this node:
<listing ...>
    <settings>
        <!--<buttons></buttons>-->
    </settings>
</listing>
  1. Set this node value:
<listing ...>
    <listingToolbar>
        <settings>
            <sticky>true</sticky>
        </settings>
    </listingToolbar>
</listing>
  1. Open admin grid page and scroll down for toolbar sticking to top

Expected result (*)

  1. Toolbar sticks to top:
    Magento_Issue_Sticky_Header_Expected

Actual result (*)

  1. Toolbar sticks to 77px under the top
    Magento_Issue_Sticky_Header

Metadata

Metadata

Labels

Auto-Tests: CoveredAll changes in Pull Request is covered by auto-testsFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions