Commit Graph

53 Commits

Author SHA1 Message Date
SteffeyDev
03f9ff42f0 Restore to Initial Animation
This undoes an odd but unnecessary change I made.
2017-06-01 13:18:37 -04:00
SteffeyDev
09f1ba9a66 Support for Missing fromRect Prop
This simply scales the view from the middle when there is no fromRect
prop to go off of.
2017-06-01 13:17:30 -04:00
SteffeyDev
a6e7aa763f Buffer Popover Off Edges
This keeps the popover view from being flush with the edges.
2017-06-01 00:46:26 -04:00
Jean Regisser
8a443d2699 Updated usage example for RN 0.26+ 2016-05-27 09:42:55 +02:00
Jean Regisser
6e5f96648d Added licence badge 2016-05-27 09:41:23 +02:00
Jean Regisser
a9c1601c73 Updated code and example for RN 0.26+, fixes #13 2016-05-27 09:23:50 +02:00
Jean Regisser
f94f0269de Removed react-native as a peerDependency since it's broken for prereleases, npm/npm#8854 2016-05-27 08:46:03 +02:00
Jean Regisser
572f8c7c8c Removed issue stats badges 2016-05-27 00:17:37 +02:00
Jean Regisser
e0bf632794 Merge pull request #12 from pavlelekic/master
Use react native exposed objects instead of accessing files from react native repo directly
2016-04-26 17:05:38 +02:00
Pavle Lekic
6abaf101ae Rewrote require calls so that they get react native's exposed objects, instead of referring to the files directly inside the react native package 2016-04-26 10:46:30 +02:00
Jean Regisser
f597398ce3 Fixed README.md JSX highlight 2016-02-02 10:29:56 +01:00
Jean Regisser
0eececafbf Merge pull request #4 from jjshammas/master
Runtime error because of wrong dependency path
2015-10-28 23:29:45 +01:00
John Shammas
5da7f6ffa9 dependency issue 2015-10-26 16:43:19 -04:00
John Shammas
5bc3877365 whoops, committed something from testing 2015-10-26 11:22:30 -04:00
John Shammas
2878e4f02f error including dependencies from react native 2015-10-26 10:18:49 -04:00
Jean Regisser
eb8a553cf5 Removed now unused Transitions.js 2015-07-31 18:12:52 +02:00
Jean Regisser
4169e935e8 Made it possible to override the default animation and styles
Documentation coming soon ;)
2015-07-31 18:10:09 +02:00
Jean Regisser
2100475345 Make arrowSize prop actually represent the rectangle size around the arrow (with the tip pointing up or down) 2015-07-30 16:33:32 +02:00
Jean Regisser
1d9a7a8653 Don’t overscale the arrow when animating to prevent a visual artifact 2015-07-30 15:31:22 +02:00
Jean Regisser
a28326369b Workaround a visual artifact in the popover scale animation 2015-07-30 14:37:02 +02:00
Jean Regisser
0e991c2843 Added editorconfig 2015-07-30 14:37:02 +02:00
Jean Regisser
c544bfc62b Refactor to use a variable arrow size and an anchor point when computing geometry
This allows more user customisation and flexibility for positioning the arrow
2015-07-30 14:37:01 +02:00
Jean Regisser
c097154278 [WiP] Migrating to react-native Animated API 2015-07-29 17:43:49 +02:00
Jean Regisser
778828c603 Added fancy github badges 2015-06-17 19:08:54 +02:00
Jean Regisser
123da80838 Added link to default hide / show handler 2015-06-12 17:47:55 +02:00
Jean Regisser
754a87b0be Bumped version to 0.2.0 0.2.0 2015-06-12 17:42:39 +02:00
Jean Regisser
0780f2e70f Merge pull request #2 from jeanregisser/animations 2015-06-12 17:33:17 +02:00
Jean Regisser
29027ed467 Merge remote-tracking branch 'origin/master' into animations 2015-06-12 17:31:56 +02:00
Jean Regisser
5a638fd497 Documented customShowHandler and customHideHandler 2015-06-12 17:26:29 +02:00
Jean Regisser
23ac9e7b18 Added credits about Transition.js (thanks @brentvatne) 2015-06-12 17:26:01 +02:00
Jean Regisser
e6573efdef Use peerDependencies for react-native 2015-06-12 16:51:29 +02:00
Jean Regisser
6410920039 Updated demo gif 2015-06-12 16:42:46 +02:00
Jean Regisser
fff9affc26 Make sure the showHandler is called only once 2015-06-12 16:30:36 +02:00
Jean Regisser
286148477d Tweaked default show animation so the popover expands a bit more before going back to its normal size
This is similar to what you can see in the Facebook Groups app
2015-06-12 16:20:19 +02:00
Jean Regisser
c70ac482ee The arrow tip is now always the origin of the default hide/show animation
Previous values were hardcoded and worked only for 1 direction.
2015-06-12 16:17:14 +02:00
Jean Regisser
c8f145eb3f Bumped version to 0.1.1 0.1.1 2015-06-03 11:11:37 +02:00
Jean Regisser
d43e6c52f4 Use good old for loop to fix #1 2015-06-03 11:10:46 +02:00
Jean Regisser
2c22ee2beb [WiP] Animations support proof of concept 2015-06-02 19:25:02 +02:00
Jean Regisser
0a670dfdca Documented props 2015-06-02 10:22:55 +02:00
Jean Regisser
09e7edd961 Added a note about displaying the popover on top of everything 2015-06-02 09:55:09 +02:00
Jean Regisser
efadf7a334 Updated usage demo code
Measure buttonRect on click
2015-06-02 09:32:44 +02:00
Jean Regisser
277b3e7c35 Bumped version to 0.1.0 0.1.0 2015-06-01 19:27:19 +02:00
Jean Regisser
80945d4009 Added install section 2015-06-01 19:16:08 +02:00
Jean Regisser
cd486d328f Show an animated gif in the readme 2015-06-01 19:14:26 +02:00
Jean Regisser
3d27e7fa7e Wait for the content size measure before actually showing the popover 2015-06-01 18:45:31 +02:00
Jean Regisser
5700814719 Don’t dim the popover on touch 2015-06-01 18:35:19 +02:00
Jean Regisser
be8092a1ee Removed debug statement 2015-06-01 18:24:37 +02:00
Jean Regisser
502584e32c Tweaked style of the demo app 2015-06-01 18:21:15 +02:00
Jean Regisser
a8a6618e34 Support top|bottom|left|right|auto placements 2015-06-01 17:20:03 +02:00
Jean Regisser
e50deec483 Fixed incorrect shadow when container background color is not transparent 2015-06-01 10:42:57 +02:00