I am using jQuery to add dragStart events to a button.
Here is my html:
$('.btn-photo').on('dragstart', function (event) {});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div id="SinglePhoto" class="btn-section btn-photo" draggable="true"></div>
This works in Chrome but not Safari. Does anyone know why?
In Safari, I can drag the element but it does not show it as being dragged. In Chrome, I can drag the element and I see it being dragged.
Any help would be greatly appreciated! Thank you!