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

Feat/custom context menu #316

Merged
merged 3 commits into from
Jun 22, 2024
Merged

Conversation

syrok94
Copy link
Contributor

@syrok94 syrok94 commented Jun 21, 2024

What does this PR do?
fix #270, add a context menu as well as fix its position

Related Issue(s)
none

Changes
Added a ContextMenu.tsx file which can be reused to add a context menu

Screenshots or GIFs (if applicable)
n1

Additional Comments
none

By submitting this PR, I confirm that:

  • I have reviewed my code and believe it is ready for merging.
  • I understand that this PR may be subject to review and changes.
  • I agree to abide by the code of conduct and contributing guidelines of this project.

Copy link
Owner

@bryanlundberg bryanlundberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @syrok94 I think you are taking a more complicated approach than necessary. Anyway, I found another issue.

  • Menu lost position at scroll

0e0240ae21fa02e7882e0672cdafc60a

  • Last solves imposible use menu
    image

  • Its missing the 100% width
    image

  • Font size, its too big

  • Black theme its not correct the text color
    image

👋

@syrok94
Copy link
Contributor Author

syrok94 commented Jun 21, 2024

Hi @bryanlundberg , will you please tell me the simplified way of doing this so that I can try it that way?
also when I change it to dark mode the solveArea looks like this ...
nd

@bryanlundberg
Copy link
Owner

Hey @syrok94 I carefully reviewed your implementation and it was fine. I helped you with some minor adjustments to the menu's positioning and styling, it was easier than explaining 😅

This feature looks ready to go, thanks for your work!

@bryanlundberg
Copy link
Owner

Preview

styled: Positioning / Colors / Size

82d82cd2283677a80d4c82274f763aa6.mp4

@bryanlundberg bryanlundberg merged commit 0768252 into bryanlundberg:main Jun 22, 2024
1 check passed
@bryanlundberg bryanlundberg mentioned this pull request Jun 22, 2024
3 tasks
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

Successfully merging this pull request may close these issues.

custom menu context
2 participants