Topic: Multi select scrolling selected option to top

scs free asked 6 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 6 years ago


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

scs free commented 6 years ago

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

Mikołaj Smoleński staff commented 6 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

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags