DTTT_collection_background bug?

DTTT_collection_background bug?

ajaxboyajaxboy Posts: 17Questions: 0Answers: 0
edited January 2014 in General
Not sure if this is some sort bug or .. ?..

Ok, I got to the point where everything is working in the custom toolbar I made with TableTools,

Now the issue I found is that when you select the button collection dropdown,

I notice some invisible div shows up with the class DTTT_collection_background, I believe the task of this div is some sort of helper to close the collection dropdown when you click on the invisible div, at least that's what I think it is, now...

This is what the div looks like:
[code]

[/code]

Reproduce

The issue is that once this invisible div shows up - (by interacting with the collection dropdown 2, 3 times or so or some times takes more to reproduce some times less), I can't click on anything on the page because apparently even though you cant see it, but you can click on as it has some sort of window modal behavior.. it prevents me from clicking on the page or anywhere else on page within the range of this div?... what would cause this to happen, or is it a bug?.. this kind of leaves user stranded when reproducing this scenario..

Now, if I do this:

[code]
.DTTT_collection_background {
width: 1px !important;
height: 1px !important;
}
[/code]
It forces the div to almost disappear, and this fixes the issue, though it leaves you with another issue that the dropdown won't close. So don't want to do the above css because then I can't close the dropdown..


In conclusion,

I think the issue is that the div with class DTTT_collection_background, some times fails to be put aside when the dropdown/button collection disappears, making it so that it is left there behind and you can't click stuff under it, and all comes down to function _fnCollectionHide() some how failing or not always doing the expected behavior..

Replies

  • allanallan Posts: 63,692Questions: 1Answers: 10,500 Site admin
    Are you able to link me to a page showing this error please? I plan to release a new version of TableTools this week and it would be good if I can investigate this and resolve it if there is a bug in TableTools.

    Allan
  • ajaxboyajaxboy Posts: 17Questions: 0Answers: 0
    Sorry I didn't get back to you on this, I ended up removing datatools after a week, and just doing the toolbar manually with bootstrap, not for the problem described above though , I was instructed to build one without datatools for other reasons, preferences by people I work with they wanted it just simple html and css.
This discussion has been closed.