Code Monkey home page Code Monkey logo

Comments (4)

PekoPPT avatar PekoPPT commented on June 12, 2024 1

Hi, @Tommuh.
The reason why the popup functionality breaks is that by hiding the highlighted element, we hide the focused element in the column menu.

The simplest solution I can suggest is a CSS definition like this:

.k-grid-columnmenu-popup > div > div > div > .k-columnmenu-item {
  font-size: 0px;
  padding: 0px;
}

.k-columnmenu-item * {
  height: 0px;
}

The above possible approach is demonstrated in this StackBlitz example. I hope it will help you achieve what you need :)

If the suggested solution doesn't work for you, please submit a support ticket and we will handle the case separately.

from kendo-react.

Tommuh avatar Tommuh commented on June 12, 2024 1

Thank you for your quick response and help.
I tried your CSS, I had to remove one "div" to get it working.

.k-grid-columnmenu-popup > div> div > .k-columnmenu-item {
  font-size: 0px;
  padding: 0px;
}

.k-columnmenu-item * {
  height: 0px;
}

from kendo-react.

PekoPPT avatar PekoPPT commented on June 12, 2024

Hey, @Tommuh.
Thank you for the shared details. I've tried to replicate the reported behavior in this StackBlitz example but with no success.

The shared example uses KendoReact 7.4.0 and version 7.2.1 of the KendoThemes. Can you please check the provided example and let me know if you are able to replicate the reported issue in it? If you can reproduce the issue, please share with us the step-by-step instructions we should follow to replicate the unexpected behavior.

If you are not able to replicate the reported behavior, here is what I can suggest:

  1. Compare the implementation of the shared example with the implementation in the application you are working on. You may notice something that should be configured in different way.
  2. If the above suggestion doesn't work, to be able to help you with the case, we will need a runnable example in which it can be tested. Can you use the shared above example as a basis and edit it in a way the issue you experience can be replicated in the StackBlitz project? When you are ready with the editing, send us the edited project back and we will be happy to help you furhter.

from kendo-react.

Tommuh avatar Tommuh commented on June 12, 2024

Hi @PekoPPT ,

Thank you for your reply. I used your info to debug mine. It is a bug I introduced myself 🤣

I found the problem, in my CSS I do the following to hide "Filter".

This is for some reason also responsible for closing on outside click. It is probably used to attach an event to this element.
This may have been different in previous versions.

.k-grid-columnmenu-popup .k-columnmenu-item {
    display: none;
}

image

Any ideas on how I can hide this?

from kendo-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.