Browse Source

#2525 Remove toggle on multiple dropdown touchstart, fix tap color

pull/2536/head
jlukic 9 years ago
parent
commit
6e2938bb37
3 changed files with 4 additions and 2 deletions
  1. 1
      RELEASE-NOTES.md
  2. 2
      src/definitions/modules/dropdown.js
  3. 3
      src/definitions/modules/dropdown.less

1
RELEASE-NOTES.md

@ -8,6 +8,7 @@
- **Segment** - Fixed incorrect margin set on `attached segment` #2503
- **Card** - `centered cards` variation now works similar to `centered card`. #2520
- **Checkbox** - Fixed issue in chrome where radio checkbox would appear incorrectly when no default value was selected #2505
- **Dropdown** - Fixed transparent tap color not being set correctly. Removed toggle behavior from touch events on multiple dropdown. #2524
- **Checkbox** - Fixed issue where radio checkbox were not properly receiving `checked` class #2506
- **Tab** - Tab now correctly obeys `cache` setting. Removed use of API's local caching by default. #2493
- **Form** - `reset` will no longer clear values if no default value is found #2504

2
src/definitions/modules/dropdown.js

@ -473,7 +473,7 @@ $.fn.dropdown = function(parameters) {
if( module.is.searchSelection() ) {
// do nothing special yet
}
else {
else if( module.is.single() ) {
$module
.on('touchstart' + eventNamespace, module.event.test.toggle)
;

3
src/definitions/modules/dropdown.less

@ -27,10 +27,11 @@
cursor: pointer;
position: relative;
display: inline-block;
tap-highlight-color: rgba(0, 0, 0, 0);
outline: none;
text-align: left;
transition: @transition;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
/*******************************

Loading…
Cancel
Save