ui-calendar icon indicating copy to clipboard operation
ui-calendar copied to clipboard

Tooltip do not hides

Open tsdaemon opened this issue 11 years ago • 10 comments

1

  1. Mouse down on any item to drag it
  2. Drag it to new position, tooltip appears on it
  3. Mouse up to drop, tooltip left forever on the last position

tsdaemon avatar Sep 29 '14 12:09 tsdaemon

+1

juanpasolano avatar Oct 08 '14 03:10 juanpasolano

+1

diogodomanski avatar Oct 31 '14 11:10 diogodomanski

Same bug

bekerov avatar Dec 04 '14 11:12 bekerov

Same here.

macgyver76 avatar Dec 10 '14 07:12 macgyver76

I thought we fixed this by appending the tooltip to the body?

On Wed, Dec 10, 2014 at 2:47 AM, macgyver76 [email protected] wrote:

Same here.

— Reply to this email directly or view it on GitHub https://github.com/angular-ui/ui-calendar/issues/160#issuecomment-66415195 .

Josh Kurz www.joshkurz.net

joshkurz avatar Dec 10 '14 07:12 joshkurz

I thought we fixed this by appending the tooltip to the body? - @joshkurz

I'm not sure what you're talking about, I'm not into it like you. I'm just using event rendering function provided by main page of this plugin. Anyway, if I remove this line from event rendering function:

'tooltip-append-to-body': true

... drag & drop works fine. The only difference is that tooltip is moved a little bit upper than before.

macgyver76 avatar Dec 10 '14 08:12 macgyver76

I see, I was thinking this was an old issue. My b. Well I cannot reproduce this on my box. What browser / os are you guys using? Have you tried to hook into eventDrop to remove the tooltip from the body?

joshkurz avatar Dec 10 '14 15:12 joshkurz

Hi, you only need to add this at the first line of your Event Render function:

$('.tooltip').remove();

edwinavg avatar May 11 '15 10:05 edwinavg

+1I have the same problem (React)

a-nemilov avatar Sep 17 '19 13:09 a-nemilov

Take a look here. https://github.com/fullcalendar/fullcalendar/issues/5078

eventRender is the right place to attach the tooltip, but you should only attach it when isMirror is false so it doesn't get added to the event while it is being dragged: https://codepen.io/acerix/pen/dyyXqdx?editors=0010

simonebonini avatar May 14 '20 08:05 simonebonini