-
-
Notifications
You must be signed in to change notification settings - Fork 870
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
Option to turn off moving to previous month when event clicked #885
Comments
For some reason when I click that stackblitz link it errors out, can you share the edit link instead that looks like https://stackblitz.com/edit/angular-s5woar?file=index.html Thanks! |
Thanks for fast response! |
Ah I see what's happening, in |
I've just noticed that you already closed issue on a github. Yours solution
works, but I would like to open an event on 31st of January and stay on the
same calendar page. Without `this.viewDate = date;` I can't open an event
on a day I want to.
Best regards,
Marek
…On Mon, Feb 18, 2019 at 12:37 PM Matt Lewis ***@***.***> wrote:
Closed #885 <#885>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#885 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ar1xWzA-uzyFc6LoeaDZP0ZPJa4jV_Dvks5vOpBkgaJpZM4bAjGV>
.
--
Best regards
------------------------------
*Marek Kisiel*
Developer
Phone +48 603 533 601 <+48603533601>
APSIS Aleje Jerozolimskie 81, 02-001 Warszawa
www.apsis.se
<https://www.linkedin.com/company/apsis-international-ab>
<https://www.facebook.com/apsisgroup>
<https://instagram.com/apsis_international/> <https://twitter.com/APSIS>
<https://www.youtube.com/user/ApsisSwedenAB>
<https://www.apsis.com/signature/?link=Malmo>
|
Ahh, I see your issue, I guess I could change activeDayIsOpen to accept a date as well as a boolean, and then it would use that instead of the |
Added in the latest 0.27 beta
Add an |
Works like a charm! Thanks a million for adding this feature with lightning speed 👍 |
Is your feature request related to a problem? Please describe
I've tried 'Extra month view weeks' solution proposed here #866 and it have some default behaviour that I would like to turn off. I've added clickable events to extended month view and enabled clicking on the events that are visible in calendar, and when clicking on an event that is out of the scope of current month, I'm moved to next/previous month and there the event is opened.
I prepared an example how does it behaves right now (click on 31st of January):
https://stackblitz.com/edit/angular-qtnlr1
Describe the solution you'd like
I would like to stay on the same calendar page.
Describe your use case for implementing this feature
It would be great to have a configuration option to decide if I should be moved/scrolled to next/previous month when clicking an event that is visible on current calendar page.
Additional context
Working example of described default behaviour
![image](https://user-images.githubusercontent.com/45969755/52944405-996db100-336f-11e9-8ccc-9ef76efa1328.png)
https://stackblitz.com/edit/angular-qtnlr1
The text was updated successfully, but these errors were encountered: