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: Select text modals #109

Merged
merged 5 commits into from
Jul 1, 2023
Merged

Conversation

httpjamesm
Copy link
Contributor

Addresses #83

In Apollo, there's a Select Text button in the ellipsis menu of posts and comments. This update adds similar functionality.

Screen.Recording.2023-06-30.at.21.56.31.mov

Text within this modal has been given a new selectable class which sets the default user-select: none; to user-select: text; to allow selecting the text. It also preserves newlines.

Copy link
Owner

@aeharding aeharding left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

src/features/feed/SelectTextModal.tsx Outdated Show resolved Hide resolved
src/features/feed/SelectTextModal.tsx Outdated Show resolved Hide resolved
@aeharding
Copy link
Owner

Thanks for making the adjustments!

@aeharding aeharding merged commit 9f9e8ba into aeharding:main Jul 1, 2023
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.

2 participants