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

ContextMenuItems out of screen #28

Closed
juanramonmartinez opened this issue Mar 29, 2020 · 4 comments
Closed

ContextMenuItems out of screen #28

juanramonmartinez opened this issue Mar 29, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@juanramonmartinez
Copy link

Hi.

Congrats for this awesome calendar.

When you have context menu items, if you make left click in days shown on the right, these contexts menus are displayed out of the screen.

Is there any posibility to open the context menu over left direcction in these cases?

img-a

img-b

In your examples:

img-c

** Sorry for my English.

Paul-DS added a commit that referenced this issue Apr 4, 2020
- Don't display the menu out of the screen (#28)
- Fix a bug when clicking on the menu then out of the menu
- Close the menu when resizing/scrolling the page
@Paul-DS
Copy link

Paul-DS commented Apr 4, 2020

Thank you for your feedback.

I fixed this issue, you can try it in the version 1.0.2-alpha.1.

If you use NPM, you can install this version using npm install js-year-calendar@next
If you use the CDN, you can use this version using https://unpkg.com/js-year-calendar@next/dist/js-year-calendar.min.js

@Paul-DS Paul-DS added the bug Something isn't working label Apr 4, 2020
@juanramonmartinez
Copy link
Author

Many Thanks. It works perfect!!!

@Paul-DS
Copy link

Paul-DS commented Apr 5, 2020

I published the version 1.0.2, so you can stop using the @next version.

@juanramonmartinez
Copy link
Author

juanramonmartinez commented Apr 7, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants