New functions were created(copied and modified) for onMouseOver event and onMouseLeave event. I also copied the style for cursor, so the default cursor is used if edit is false. I realise that copying the code is not a good solution, but I am not prepared to put any more time into this component. I customised it so it works for my case and I think the changes can benefit other developers.
New functions were created(copied and modified) for onMouseOver event and onMouseLeave event. I also copied the style for cursor, so the default cursor is used if edit is false. I realise that copying the code is not a good solution, but I am not prepared to put any more time into this component. I customised it so it works for my case and I think the changes can benefit other developers.