Github user moranr commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/604#discussion_r69898927
  
    --- Diff: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/controllers/nf-ng-canvas-toolbox-controller.js
 ---
    @@ -94,12 +94,21 @@ nf.ng.Canvas.ToolboxCtrl = function (processorComponent,
              * NOTE: The `component` must implement a dropHandler.
              */
             draggableComponentConfig: function(component) {
    +
    +            //add hover effect
    +            component.getElement().hover(function () {
    +                
component.getElement().removeClass(component.icon).addClass(component.hoverIcon);
    +            }, function () {
    +                
component.getElement().removeClass(component.hoverIcon).addClass(component.icon);
    +            })
    +
                 return {
                     zIndex: 1011,
                     revert: true,
                     revertDuration: 0,
                     cancel: false,
                     containment: 'body',
    +                cursor: 'grabbing',
    --- End diff --
    
    @scottyaslan I think we can add `cursor: '-moz-grabbing'` and `cursor: 
'-webkit-grabbing'` vendor prefixes here to get the cursor to show on 
non-supported browsers.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to