Skip to content

Commit

Permalink
Fixed issue #13870: Apple devices do not support ranking question
Browse files Browse the repository at this point in the history
  • Loading branch information
lacrioque committed Jul 24, 2018
1 parent 2f84266 commit 244ff9a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions assets/packages/questions/ranking/css/ranking.css
Expand Up @@ -15,6 +15,11 @@
-moz-box-sizing: content-box;
box-sizing: content-box;
}

.ls-choice.list-group-item.grabable.sortable-enable {
touch-action: none;
}

.sortable-list .ls-choice {
border-radius:0;
}
Expand Down
1 change: 1 addition & 0 deletions assets/packages/questions/ranking/scripts/ranking.js
Expand Up @@ -31,6 +31,7 @@ var RankingQuestion = function (options) {
group: "sortable-" + questionId,
ghostClass: "ls-rank-placeholder",
sort: false,
scroll: false,
onMove: function(ev) {
if (max_answers > 0 && $('#sortable-rank-' + questionId + ' li').length >= max_answers) {
//sortableAlert();
Expand Down

0 comments on commit 244ff9a

Please sign in to comment.