<!-- React-mount-point-unstable--> destroying my css
in css we often use selectors such as nth-child, or table+.mx-listview mendix is injecting a script, and css is counting this as an element which makes a lot of css selectors unusable. anyone know how to get rid of the script? Edit: added idea to the idea forum to solve this: https://forum.mendix.com/link/ideas/1882 Edit2: ”Hi Jason, We really appreciate that you took the time to share this with us. This is a platform behavior rather than a bug, but we understand it might be inconvenient for you, however, I can see that you already created an entry on the idea channel which is the correct way to address this. Every quarter all our customers can bring in feature requests, which can be enriched and voted on by others. Based on this feedback we determine which features have most value according to our customers and will be implemented. I will now set this ticket status as solved as there is no further action that the support team can take. As always, we are grateful for your feedback and thank you for your understanding and patience. Best regards, Sergio Randazzo Senior Technical Support Engineer”
You could probably work using the :nth-of-type selector instead, unless the rest of the nodes is a mixed bag of elementtypes.
One solution that may work is to use the :last-of-type rather than last-child. Ofcourse this only works for when all your elements are similar types, such as a series of DIVs in a flex container which is messed up by the script elements
Kelvin de Ruiter FC
I filled a bug/support ticket: “ your request(98876)”