-
Notifications
You must be signed in to change notification settings - Fork 96
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
Feature: press event to edit #227
Conversation
In WeekView state: initialDates
Move example use cases up in README Simplify common-usages.md
src/Event/Event.styles.js
Outdated
@@ -6,7 +6,7 @@ const styles = StyleSheet.create({ | |||
position: 'absolute', | |||
borderRadius: 0, | |||
flex: 1, | |||
overflow: 'hidden', | |||
// overflow: 'hidden', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shall we remove this comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I missed it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wait, but if we remove it, won't the event have any problem?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is no problem. It was there to avoid overflowing the text into the grid, but that does not occur anymore (I think since the usage of Animated.View, instead of View):
overflow-hidden-2022-07-18_15.45.09.mp4
Great feature! However, I see it supports editing horizontal, could you explain why? |
Here is an example of horizontal edition: edit-horizontally-2022-07-18_15.49.02.mp4I think it will also be useful with the block-like events #220 |
Amazing work! |
Awesome, the code looks great, thanks for this great feature @pdpino. |
Looks like we're gonna have a nice new release soon 👯 |
Fixes #58
rc1--2022-07-06_14.38.57.mp4
Here is an example usage of the API,
@hoangnm lmk if you have any comments (cc @rdewolff)