JQM 1.4 scroll to top on collapsible click bug

JQM 1.4 scroll to top on collapsible click bug

Hello everyone,

Trying not to fall behind, I recently started to update my website's JQM library from v1.3.0 to v1.4.0-rc.1

So now I have this bug. When  a user clicks on a collapsible widget that is placed inside a panel, the page automatically scrolls to top.

I would also like to mention that I also use ember-1.1.2.js ,  handlebars-1.0.0.js , jquery-1.10.2.js  in case it matters.

Here is some code from the panel:

  1. <div id="create-machine-panel" class="side-panel" data-role="panel" data-position="right" data-display="overlay">

  2.     <div data-role="header">
  3.         ....
  4.     </div>

  5.     <div data-role="content">       
  6.         .
  7.         .
  8.         .
  9.         <label>2. Provider:</label>

  10.         <div id="create-machine-provider" data-role="collapsible" data-iconpos="right" data-collapsed-icon="arrow-d" data-expanded-icon="arrow-u">

  11.             <h2>{{Mist.machineAddController.newMachineProvider.title}}</h2>

  12.             <ul data-role="listview" data-inset="true">
  13.                 {{#each Mist.backendsController.content}}
  14.                 <li data-icon="false">
  15.                     <a {{action "selectProvider" this target="view"}}>{{this.title}}</a>
  16.                 </li>
  17.                 {{/each}}
  18.             </ul>

  19.         </div> <!-- collapsible -->
  20.        .
  21.        .
  22.        .
  23.     </div> <!-- content -->
  24. </div> <!-- panel -->

Please tell me if you have any knowledge on the issue,

Thanks in advance!