How can I control the panel dismissible area in jQM 1.3.0?
I finally figured out a couple of things that helped me change the with of a panel. I have a dismissible panel, positioned on the right side and I modified the default width, 17em, and made it 25em. However, when I click inside the panel, within the area of the 17-25em, the panel is dismissed.
I could not find any visual element that captures the mouse click. I am inclined to believe that the dismissible area is predefined in Javascript, and does not update after I modified the CSS. Here is my CSS code:
- .ui-panel.ui-panel-position-right.ui-panel-display-reveal.ui-panel-open.ui-panel-animate {
- width: 25em;
- }
- .ui-panel.ui-panel-position-right.ui-panel-display-reveal.ui-panel-closed.ui-panel-animate {
- width: 0em;
- }
- .ui-panel-animate.ui-panel-content-fixed-toolbar-position-right.ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-reveal,
- .ui-panel-animate.ui-panel-content-fixed-toolbar-position-right.ui-panel-content-fixed-toolbar-open.ui-panel-content-fixed-toolbar-display-push,
- .ui-panel-animate.ui-panel-content-wrap-position-right.ui-panel-content-wrap-open.ui-panel-content-wrap-display-reveal,
- .ui-panel-animate.ui-panel-content-wrap-position-right.ui-panel-content-wrap-open.ui-panel-content-wrap-display-push {
- left: 0;
- right: 0;
- -webkit-transform: translate3d(-25em,0,0);
- -moz-transform: translate3d(-25em,0,0);
- transform: translate3d(-25em,0,0);
- }
Does anybody have an idea for making the dismissible area as wide as the panel?
Thanks in advance,