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

rightClickOverrides #102

Open
luoxiaokun opened this issue Aug 19, 2024 · 3 comments
Open

rightClickOverrides #102

luoxiaokun opened this issue Aug 19, 2024 · 3 comments

Comments

@luoxiaokun
Copy link

The lineageLineRightClicked method is invalid
@tnrich

@tnrich
Copy link
Collaborator

tnrich commented Nov 19, 2024

@luoxiaokun invalid in what sense? Like it if you pass lineageLineRightClicked as a prop it isn't getting triggered when a lineage line is right clicked?

Thanks!

@luoxiaokun
Copy link
Author

Hello, I'm sorry for only replying to the message now.
I have self checked and found that it is a version issue. I have updated according to the documentation, but after the update, new problems have appeared. The open vector editor I used before has now been migrated to @ teselagen/ove, and the following issues have arisen. Build using webpack.
The error is as follows:
./node_modules/@teselagen/ove/node_modules/@teselagen/ui/src/AdvancedOptions.js
.....node_modules/@teselagen/ove/node_modules/@teselagen/ui/src/AdvancedOptions.js: Unexpected token (16:4)
......
14 | }
15 | return (

16 | <div style={{ marginTop: 5, ...style }}>
| ^
17 | <div
18 | onClick={() => {
19 | setOpen(!isOpen);
......
thanks

@tnrich
Copy link
Collaborator

tnrich commented Dec 4, 2024

@luoxiaokun looks like maybe your webpack build isn't set up to parse jsx for ove? Can't say for certain..

Here's an example folder where @teselagen/ove is being used in a webpack app - https://github.com/TeselaGen/tg-oss/tree/master/example-demos/oveWebpackDemo

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

No branches or pull requests

2 participants