Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltip doesn't refresh when scaling down (resizing) a time slot in day view. #1002

Closed
jeanft opened this issue Jun 6, 2019 · 7 comments
Closed

Comments

@jeanft
Copy link

jeanft commented Jun 6, 2019

Describe the bug

When I create a new CalendarEvent (using mouse down, drag down/up, mouse up), the tooltip doesn't refresh when I scale down the event.

Minimal reproduction of the problem with instructions
Using CustomEventTitleFormatter, in dayTooltip function, return event.meta.durationInMinutes.

    dayTooltip(event: CalendarEvent): string {
        return event.meta.durationInMinutes;
    }

Create an event, scale up => tooltip updated. Scaled down => tooltip doesn't update.

Versions

  • @angular/core: 7.2.2
  • angular-calendar: 0.27.9
  • Browser name and version: Chrome 74.0.3729.169
@matts-bot
Copy link

matts-bot bot commented Jun 6, 2019

Thanks so much for opening an issue! If you'd like me to give priority to answering your issue or would just like to support this project, then please consider supporting me on Patreon

@mattlewis92
Copy link
Owner

Hey, any chance you can make a stackblitz that reproduces your issue? You can fork one from any of the demos by hitting the "Edit in stackblitz" button. Thanks!

@jeanft
Copy link
Author

jeanft commented Jun 7, 2019

https://stackblitz.com/edit/angular-yvt9me
app: https://angular-yvt9me.stackblitz.io

Create an event.
Drag to extend: see title and tooltip updating
Drag to scale down: see title updading but tooltip not updating

@no-response no-response bot removed the needs reply label Jun 7, 2019
@mattlewis92
Copy link
Owner

Thanks for that! I'm still having trouble seeing the issue though, can you share a screen recording or something showing it?

@jeanft
Copy link
Author

jeanft commented Jun 7, 2019

Look at the tooltip in this video.

Screen recording.zip

@mattlewis92
Copy link
Owner

Ahh, I see the issue now, please give the latest version a try! 😄

@jeanft
Copy link
Author

jeanft commented Jun 7, 2019

Thank you very much for your responsiveness.
Keep up the good work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants