Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Why Kendo menu is showing overlapping text?

I have a simple app where a Kendo menu is displayed and there is some text content on the page. The problem is that when the menu shows up then it still shows the text content behind it as in the image below.

Kendo menu issue of body text showing behind it

The sample for this including all code can be seen at Demo code for this issue. The code in this sample has been divided into three sections using the following comments <!--page resources-->, <!--page script-->, <!--page html--> and <!--page styles-->

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

The correct display for Kendo menu should be as below.

Kendo menu without the body text showing

What I found after some research is that if the style of the paragraph displaying the text content has position:unset, then this Kendo menu issue disappears, but I still fail to understand why by adding this style the text content gets hidden behind the Kendo menu? The text content is still at the same position as it was when the issue was there, yet it’s now hidden below the menu.

>Solution :

The sidebar does not have z-index set so the article content is shown above the menu. You can fix it by adding the below z-index style.

#sidebar {
    background: transparent;
    overflow: visible;
    z-index:1;
}

Demo

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading