{"id":19867046,"url":"https://github.com/azurespheredev/react-dropdown","last_synced_at":"2026-04-13T00:05:57.258Z","repository":{"id":228365077,"uuid":"773521708","full_name":"azurespheredev/React-Dropdown","owner":"azurespheredev","description":"🃏 msDropdown libary updated from jQuery to React and Scss for styling. Now it's live with v4.0","archived":false,"fork":false,"pushed_at":"2024-10-27T03:16:17.000Z","size":9255,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-11T15:50:03.828Z","etag":null,"topics":["autoprefixer","bootstrap","cssnano","javascript","reactjs","scss","webpack"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/azurespheredev.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-17T21:57:59.000Z","updated_at":"2024-10-27T03:16:20.000Z","dependencies_parsed_at":"2024-03-18T13:03:20.031Z","dependency_job_id":"89ae2d2d-76c1-4b51-909e-78d9e76b8199","html_url":"https://github.com/azurespheredev/React-Dropdown","commit_stats":null,"previous_names":["azuresphere7/react-dropdown","blitzsprinter/react-dropdown","azurespheredev/react-dropdown"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azurespheredev%2FReact-Dropdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azurespheredev%2FReact-Dropdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azurespheredev%2FReact-Dropdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azurespheredev%2FReact-Dropdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azurespheredev","download_url":"https://codeload.github.com/azurespheredev/React-Dropdown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241278753,"owners_count":19938018,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autoprefixer","bootstrap","cssnano","javascript","reactjs","scss","webpack"],"created_at":"2024-11-12T15:28:11.843Z","updated_at":"2026-04-13T00:05:57.211Z","avatar_url":"https://github.com/azurespheredev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"./dist/images/ms-dropdown.jpg?v=4.0\" /\u003e\r\n\r\n### v4.0.3 update: 13 Oct, 2021\r\n\r\n- Fixed bootstrap modal issue\r\n\r\n### v4.0.2 update: 21 Sep, 2021\r\n\r\n- Safari blue border on focus removed\r\n- selectedIndex can be set as an array if \"\u0026lt;select\u0026gt;\" is multiple.\r\n  - Example: element.msDropdown.selectedIndex = [1, 4];\r\n- imagePosition:'right' is added. Default value is left.\r\n- showFilterAlways functionality is added.\r\n- Little bit code refactoring\r\n\r\n### v4.0.1 update: 15 Sep, 2021\r\n\r\n- Fixed List zIndex issue\r\n\r\n### v4.0 update: 09 Sep, 2021\r\n\r\n- Written in ES6 (class) Style\r\n- Remove jQuery dependency\r\n- Performance improvement\r\n- Reactive properties\r\n- 'required' attributes works too\r\n- 'required' message can be customized. Default is 'Please select an item from this list'\r\n- Works better than original dropdown, i guess :)\r\n\r\n### v3.5.2 updates: 13 July, 2013\r\n\r\n- height bug fixed.\r\n- multiple indexes can be set via object.\r\n  ie. var oDropdown = $(\"#element\").msDropdown().data(\"dd\");\r\n  oDropdown.set(\"selectedIndex\", [1,4]);\r\n- checkbox selection is fixed when setting index via object.\r\n- css .arrow class is changed to .ddArrow (it was too common)\r\n\r\n### v3.5.1 updates:\r\n\r\n- (used for my personal project - did not get the chance to update - Sorry!)\r\n\r\n### v3.5 updates: 3 June, 2013\r\n\r\n- conflict edit in source js file fixed\r\n- autofilter is now configurable - it can be enable/disable by setting params or data-enableautofilter=\"true\" attribute.\r\n- next/previous bug fixed when autofilter is on.\r\n- Bug fixed when item opens upward after autofilter.\r\n\r\n### v3.4 updates: 31 May, 2013\r\n\r\n- refresh method is back. you can refresh your dropdown to update the UI and value with the original dropdown or by the msdropdown object.\r\n  i.e: $(\"#dropdownid\").msDropdown().data(\"dd\").refresh(); //or\r\n  document.getElementById(\"dropdownid\").refresh();\r\n- removed underscore from the all the variables and methods name - for the sake of jslint\r\n- reverseMode - reverseMode settings param is true... When you update your original dropdown it will update the msdropdown UI and value. This is usefull when you use knockoutjs or other library\r\n- Now you can set open direction to always down by settings params in settings or data {openDirection:\"alwaysdown\"}\r\n\r\n### v3.3 updates: 02 Feb, 2013\r\n\r\n- $.browser - jQuery 1.9 version fixed\r\n- Keyboard navigation issue has been fixed\r\n- destory is now destroy - oops typo error\r\n\r\n### v3.2 updates: 26 Nov, 2012\r\n\r\n- All setting parameters can passed throught element's data- attributes. ie. data-maincss=\"blue\"\r\n- zIndex bug fixed for list and dropdown if both on the same page.\r\n- Added setIndexByValue method. However same can be done by - handler.set(\"value\", value)\r\n- Added \"append\" and \"prepend\" in setting params. append is used to append the element to the childdiv and prepend do as the name suggest.\r\n- Added one more help file for objected oriented approach.\r\n\r\n### v3.1.1 updates:\r\n\r\n- chrome onchange bug fixed\r\n- zindex bug fixed for msie\r\n- add method bug fixed for msie\r\n\r\n### v3.1 updates:\r\n\r\n- Child width can be alter\r\n- New multiple is introduced. Its multiple but with the checkbox.\r\n- \u003cstrong\u003eBonus:\u003c/strong\u003e elementname\u003cstrong\u003e\\_mscheck\u003c/strong\u003e will be posted along with the form post/get. i.e. if element name is \u0026quot;tech\u0026quot; checkbox _tech_mscheck[]_ is created. However you can set the suffix using 'checkboxNameSuffix' parameter.\r\n\r\n### v3.0 updates:\r\n\r\n\u003cul\u003e\r\n  \u003cli\u003eWritten from scratch\u003c/li\u003e\r\n  \u003cli\u003eImproved performance and UI\u003c/li\u003e\r\n  \u003cli\u003eImproved auto filter experience\u003c/li\u003e\r\n  \u003cli\u003eAdded data- support in attributes for image, description, title, imagecss, text and value\u003c/li\u003e\r\n  \u003cli\u003eEvent can be bind/unbind through object\u003c/li\u003e\r\n  \u003cli\u003eOrganized folder structure\u003c/li\u003e\r\n  \u003cli\u003eOld style (with title attribute) is also working.\u003c/li\u003e\r\n  \u003cli\u003eCountry dropdown with flags as a bonus\u003c/li\u003e\r\n\u003c/ul\u003e\r\n\u003cstrong\u003ev2.38 updates:\u003cbr /\u003e\r\n\u003c/strong\u003e\r\n\u003cul\u003e\r\n  \u003cli\u003edocument keydown/keyup method unbind\u003c/li\u003e\r\n  \u003cli\u003eadded json support in title. {image:'', title:''}\u003c/li\u003e\r\n  \u003cli\u003eonchange bug on onclose\u003c/li\u003e\r\n  \u003cli\u003eCSS style declaration problem\u003c/li\u003e\r\n  \u003cli\u003ejQuery 1.7.1 compatibility issue\u003c/li\u003e\r\n  \u003cli\u003eIE8 sprite\u003c/li\u003e\r\n\u003c/ul\u003e\r\n\u003cstrong\u003ev2.37.5 updates:\u003cbr /\u003e\r\n\u003c/strong\u003e\r\n\u003cul\u003e\r\n  \u003cli\u003eFixed an ie6 error.\u003c/li\u003e\r\n\u003c/ul\u003e\r\n\u003cstrong\u003ev2.37 updates:\u003cbr /\u003e\r\n\u003c/strong\u003e\r\n\u003cul\u003e\r\n  \u003cli\u003evalues are updated properly when it opens upwards\u003c/li\u003e\r\n  \u003cli\u003eNow works with jQuery 1.6.1.\u003c/li\u003e\r\n  \u003cli\u003eImproved performance\u003c/li\u003e\r\n  \u003cli\u003eAdded quick selection. Filter options on key press\u003c/li\u003e\r\n\u003c/ul\u003e\r\n\u003cstrong\u003ev2.36 updates:\u003cbr /\u003e\r\n\u003c/strong\u003e\r\n\u003cul\u003e\r\n  \u003cli\u003eOnchange bug has been fixed. Finally :)\u003c/li\u003e\r\n  \u003cli\u003eNo more id is required.\u003c/li\u003e\r\n\u003c/ul\u003e\r\n\u003cstrong\u003ev2.35 updates:\u003cbr /\u003e\r\n\u003c/strong\u003e\r\n\u003cul\u003e\r\n  \u003cli\u003eNow works in FF4.\u003c/li\u003e\r\n  \u003cli\u003eOnchange bug has been fixed.\u003c/li\u003e\r\n  \u003cli\u003eDropUp when your dropdown is showing at bottom of the page. \u003c/li\u003e\r\n  \u003cli\u003eSome minor ui changes\u003c/li\u003e\r\n\u003c/ul\u003e\r\n\u003cstrong\u003ev2.3 updates:\u003cbr /\u003e\r\n\u003c/strong\u003e\r\n\u003cul\u003e\r\n  \u003cli\u003eCSS sprite chrome bug has been fixed.\u003c/li\u003e\r\n\u003c/ul\u003e\r\n\r\n\u003cp\u003e\u003cstrong\u003eLicense\u003c/strong\u003e\u003c/p\u003e\r\nYou may use msDropDown under the terms of either the MIT License or \r\nthe Gnu General Public License (GPL) Version 2.\r\n\r\nThe MIT License is recommended for most projects.\r\nIt is simple and easy to understand, and it places almost no restrictions on what you can do with msDropDown.\r\n\r\nIf the GPL suits your project better, you are also free to use msDropDown under that license.\r\n\r\nYou don't have to do anything special to choose one license or the other, and you don't have to notify anyone which license you are using.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazurespheredev%2Freact-dropdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazurespheredev%2Freact-dropdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazurespheredev%2Freact-dropdown/lists"}