k-i-plus hides parent

4 posts, 0 answers
  1. Nathan
    Nathan avatar
    39 posts
    Member since:
    Sep 2011

    Posted 29 Oct 2014 Link to this post

    I'm putting k-i-plus class on a span and the kendo code is changing the style of the parent object to display:none.

    Is this intentional, and if so, why?

    <div id="COM_Content" class="WholeParent">
        <div id="DIV_COM_ContentArea" class="rounded-corners">
            <div id="DIV_COM_ToolbarL">
                <span style="text-align:left;">
                    <span onclick="COM_Add();" id="COM_Add" title="Add new item..." class="k-icon k-i-plus"></span>
                    <input id="COM_Filter" type="text" class="k-textbox" onkeydown="COM_Filter_KeyDown(event)" />
                    <span onclick="COM_RefreshList();" title="Filter" class="k-icon k-i-funnel"></span>
                    <span id="COM_ResetFilter" onclick='$("#COM_Filter").val(""); COM_RefreshList();' title="Clear Filter" class="k-icon k-i-funnel-clear"></span>
                </span>


            </div>
            <div id="DIV_COM_ToolbarR">
                <input type="radio" name="Radio_ShowData" id="COM_Rad_ShowMineOnly" value="1" onselect="ShowData(1)"><Label for="COM_Rad_ShowMineOnly">Show only my data</Label>
                <input type="radio" name="Radio_ShowData" id="COM_Rad_ShowAll" value="0" onselect="ShowData(1)"><Label for="COM_Rad_ShowAll">Show all data visible to me</Label>
            </div>
            <div id="DIV_COM_List">
                <div id="DIV_COM_Tree"></div>
            </div>
        </div>
    </div>
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 31 Oct 2014 Link to this post

    Hello Nathan,

    The same issue cannot be reproduced here:

    http://dojo.telerik.com/iMugi

    The parent span element is does not have display:none applied. Am I missing something?

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Nathan
    Nathan avatar
    39 posts
    Member since:
    Sep 2011

    Posted 31 Oct 2014 in reply to Kiril Nikolov Link to this post

    Hi Kiril,

    It's nested within a window as well, I'll see if I can produce a more complete example when I have time.

    I know it's definitely the Kendo code doing it, if I change k-i-plus to k-i-plusx the display:none attribute doesn't get added.

    Kind Regards,
    Nathan

  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2566 posts

    Posted 03 Nov 2014 Link to this post

    Hi Nathan,

    Please try to reproduce the problem in a sample case and we will be happy to take a look.

    Thanks for the cooperation.

    Regards,
    Kiril Nikolov
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
Back to Top
Kendo UI is VS 2017 Ready