Multi select scrolling selected option to top


Topic: Multi select scrolling selected option to top

scs asked 7 years ago

Hi,

I have an issue with multi select when number of options increases. When i select an option, the selected item scrolls to top on the list.  How this can be avoided.  Similar issue is discussed in this https://github.com/Dogfalo/materialize/issues/3448   This has been fixed on https://github.com/Dogfalo/materialize/commit/e3668e36ad2c82f6520406cdb1a971c1a69d4f79 this commit. Do mdbootstrap (jq-pro) has an option to fix this issue.


Mikołaj Smoleński staff answered 7 years ago

Hi, Please comment the following line in mdb.js:
$(this).scrollTop($(this).scrollTop() - $(this).offset().top + $(elem).offset().top);
Regards

scs commented 7 years ago

Thanks. Do  MDB(jquery-pro) multi select have any option for select all

Mikołaj Smoleński staff commented 7 years ago

For this moment there is no such option. Regards

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No