I am using jQuery DateBox on my gwt project like this:
at my gwt.xml ui file I have input
<input type="text" ui:field="date" class="{resources.style.bottomSpacer}"
data-role="datebox" data-options='{"mode":"datebox", "useFocus": true,
"useNewStyle":true, "themeHeader": "b", "themeButton": "b", "themeInput": "c"}' />
When opening the datebox on clicking the input element on tablet, it is reported to load very slowly.
What may be causing it? Maybe some javascript gets loaded only after click and it loads the js libraries on fly?
I played with the
data-options
field and found out that using only one theme and disabling animation made the element much faster even on PC. At least I could see the difference on my fast PC. So, on tablet the difference may be even bigger.Here is the
data-options
when changed:So, there all theme related is with
b
and theuseanimation
thing is new.