This is a migrated thread and some comments may be shown as answers.

Sticky appbar bug

2 Answers 133 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jakub
Top achievements
Rank 1
Jakub asked on 16 Apr 2021, 12:39 PM

Hi!
Take a look at this stackblitz example: https://stackblitz.com/edit/angular-o2pliu?file=src/app/app.component.html

Scroll down through the wall of "test" paragraphs, and take a look at the appbar/combobox. Combobox (and every other Kendo component) floats on top of the appbar.
I know my example is clunky, but it shows this bug pretty well.
I also know that .css styles are excessive, but I just copied my code from my local project.

 

Is this really a bug, or is it my fault?

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimiter Topalov
Telerik team
answered on 19 Apr 2021, 08:21 AM

Hello Jakub,

Setting the element position to "sticky" comes with its own specifics, thus the z-indexes of the affected elements need to be adjusted too. In this case, raising the z-index of the appbar host element should be enough, e.g.:

kendo-appbar {
  position: sticky;
  z-index: 3;
I hope this helps.

Regards,
Dimiter Topalov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Jakub
Top achievements
Rank 1
answered on 19 Apr 2021, 10:41 AM

Works as a charm.

Thank you very much for reminding me of this attribute.

Tags
General Discussions
Asked by
Jakub
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Jakub
Top achievements
Rank 1
Share this question
or