Semantic-UI integration
Semantic-UI integration
vincent-
Posts: 4Questions: 0Answers: 0
It seems that the "show entries" dropdown behaves weirdly in the Semantic-UI example:
https://datatables.net/examples/styling/semanticui.html
Is that a known issue which is being fixed?
This discussion has been closed.
Replies
It is now a known issue as you've pointed it out (I didn't know about it before).
I've just taken a look into this and don't have an immediate answer for you I'm afraid. There isn't anything obvious in DataTables that is causing it, and I can't reproduce it in the Semantic UI examples, so there is something going on that I'm missing.
Allan
Hi allan,
first of all, thank you for having a quick look at that issue and to give me a reply.
I've been trying to find what's going on but I haven't had success. Perhaps something needs to be changed in the jquery.dataTables.js, since just including the jquery.dataTables.js and the upstream Semantic-UI stuff (not the dataTables.semanticui.{js,css}) the problem still happen.
Or maybe some "stopPropagation()" are needed in dataTables.semanticui.js, I don't know.
This small example illustrates the problem:
That's basically exactly what The Semantic UI integration for DataTables is doing. I've tried disabling the events that DataTables uses to update the select list, but that didn't appear to have any effect - problem still present.
I need to do a bit more investigation I'm afraid.
Allan
I've just been looking into this a but more and it looks like its a bug in Semantic UI. Its flagged for their 2.2 milestone, so hopefully we'll see a fix then.
There doesn't appear to be a wrong around other than to not use a
label
, but that's good for accessibility, so that's not a change I want to make in DataTables.Allan
Thank you very much Allan to investigate this issue. I've subscribed myself to the issue in GitHub and I hope Semantic UI gets fixed soon.
Regards,
Vincent
Hello Allan,
Semantic-UI 2.2 has been released. Perhaps you want to update the Semantic-UI integration example (https://datatables.net/examples/styling/semanticui.html) in order to use that version and have the problem fixed :-)
Regards,
Vincent.
Thanks for pointing out that 2.2.x is out. I've updated my libraries locally and it does indeed fix the issue. I'll push the update out to the site shortly.
Regards,
Allan
Hi Allan,
any hints when we're able to download the Semantic UI integration for DataTables using Bower?
BR,
~ HD ~
Should be early December when Editor 1.6 ships. That is the last component that needed Semantic UI support to complete the set for DataTables and its extensions.
Allan
Hi Allan,
great to hear that!
Thanks for the feedback!
BR,
~ HD ~