Comments (4)
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.
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.
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:
- 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.
- 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.
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;
}
Any ideas on how I can hide this?
from kendo-react.
Related Issues (20)
- DropdownTree with always `200px` HOT 3
- [Bug][Editor] Pasting Lists from MS Word are stripped in Safari
- Enhance TreeList Selection with Parent-Child Checkbox Propagation HOT 4
- [Bug[Grid] Selection goes out of the Grid when using WidthProvider HOT 1
- [Bug][Spreadsheet] activeSheet method does not change the selected sheet
- [Bug][dropdowns] Keyboard navigation for duplicate items with a dataset of objects
- [Bug][DatePicker] Setting the "valid" property throws a warning message in the console HOT 1
- How a user can open a link inserted in <Editor /> component HOT 1
- [Bug][DatePicker] Warnings for the adaptive and adaptiveTitle properties HOT 1
- [Bug][Grid] newWidth and oldWidth are 0 when resizing column with double click (to fit)
- [Bug][Grid] Grid component breaks when the data is an empty array and the scrollable attribute is set to 'none'. HOT 2
- [Bug][Chart] Chart is broken for numbers with a lot of symbols after point HOT 4
- [Bug][DateTimePicker] Adaptive rendering minute selection scrolls to the bottom
- [Bug][Spreadsheet] DecreaseDecimal and IncreaseDecimal could not be loaded manually in the toolbar HOT 1
- [Bug][PdfViewer] Inconsistent width can cause horizontal scrollbar in some cases HOT 1
- [Enchancement][Spreadsheet] expose all spreadsheet instance events to the react component
- Calendar - append to body HOT 1
- [Bug][Grid] GridColumnMenuCheckboxFilter closes if clicked outside any of the checkboxes HOT 1
- [Bug][Upload] User cannot enter spaces when using the listItemUI prop
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kendo-react.