Disabling draggable does not remove the css-class "draggable"
See original GitHub issueI’m submitting a … (check one with “x”)
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here
Current behavior
Setting draggable
to false does not remove the draggable
class.
Expected behavior
Disabling draggable
should remove the draggable
class, otherwise the user might get the impression that it should drag, but something is not working.
Reproduction of the problem Draggable-Elements receive a red background in this example. https://plnkr.co/edit/k6Wly6fOdsR2e2UzfjW9?p=preview
What is the motivation / use case for changing the behavior? The user might get the impression that it should drag, but something is not working.
Please tell us about your environment: macOS Sierra
- Table version: 0.7.4
- Angular version: 2.0.1
- Browser: all
- Language: all
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Do not update css when draggable is disabled - Stack Overflow
You have three options. You can either remove the styles from jquery-ui.css for .ui-state-disabled , you can override the style in your own ......
Read more >Draggable Widget - jQuery UI API Documentation
Removes the draggable functionality completely. This will return the element back to its pre-init state. This method does not accept any arguments. Code ......
Read more >How to disable a jQuery-ui draggable of widget - GeeksforGeeks
In this article, we will see how to disable draggable widget using jQuery-ui. The jQuery UI consists of GUI widgets, visual effects, ...
Read more >Disable drag and drop/ Show row weights - Drupal Answers
Im using corolla Corolla 7.x-3.0-rc1. This can be duplicated by viewing my site and dragging the window to be the smallest width. The...
Read more >Drag-and-Drop with jQuery: Your Essential Guide
First we add a 'correct' CSS class to the card so that we can change its colour via CSS. We then disable both...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I add this configuration to the column and work for me using version 13.1.0 Column definition:
[draggable]="false"
Table definition:[reorderable]="false"
I checked this with ngx-datatable v13.0.1. But still issue is there