Comments (5)
@goshakkk , @bhaumikdesai91 Any update on this ?
from react-native-tooltip.
I have a similar use case. I'm basically requiring the NativeModule for react-native-tooltip and use it without touchable opacity (otherwise, the webview won't be handling selections at all).
from react-native-tooltip.
@goshakkk have you found any workarounds for this?
from react-native-tooltip.
@bhaumikdesai91 I copied https://raw.githubusercontent.com/chirag04/react-native-tooltip/master/ToolTip.ios.js locally and removed touchable opacity and such, AND I'm setting the height of Tooltip
explicitly.
What really hurts me is that there's no easy way to disable system actions in the UIMenuController for a web view... the alternative would be subclassing UIWevView and making a custom bridge but I sooo don't want to go down that road :( Sucks that canPerformAction:
doesn't have a delegate-based alternative
from react-native-tooltip.
@goshakkk In my case, I am being able to allow selection but I want to add another action in the tooltip menu. Right now it only shows default Copy,Share,Speak etc. options.I already have done this in Objective C, Take a look at this:
UIMenuItem *customMenuItem = [[UIMenuItem alloc] initWithTitle:@"CustomMenu" action:@selector(customDataProcessing)];
[[UIMenuController sharedMenuController] setMenuItems:@[customMenuItem]];
[[UIMenuController sharedMenuController] update];
What do you think?
from react-native-tooltip.
Related Issues (20)
- callback for dismissing HOT 1
- Android support HOT 6
- can't run HOT 3
- Selected Text
- Undefined is Not an Object('evaluating ToolTipMenu.Show') HOT 5
- onLayout prop is missing x,y in callback's e.nativeEvent.layout
- Copy item added when tooltip is inside of a Text component HOT 1
- Please specify compatible version for Reac-native version
- Replace React.createClass with createReactClass (react 15.5+) HOT 3
- React.PropTypes is removed in RN 0.49 HOT 1
- Collaborators
- Tooltip style change. HOT 1
- Error: Invariant Violation, Native component does not exist HOT 4
- Please support Android HOT 2
- Can I order the position of each item inside the menu?
- with big tetxt
- Tooltip disappearing after first tap HOT 2
- Links in the installation aren't working
- TypeError: undefined is not an object (evaluating 'Object.keys(_reactNative.TouchableHighlight.propTypes)')
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-tooltip.