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

Bridge Options preventClicks Not Working as Expected #1313

Open
1 task done
richardtaylordawson opened this issue Jan 9, 2025 · 0 comments
Open
1 task done

Bridge Options preventClicks Not Working as Expected #1313

richardtaylordawson opened this issue Jan 9, 2025 · 0 comments
Labels
pending-author [Issue] Awaiting further information or action from the issue author pending-triage [Issue] Ticket is pending to be prioritised

Comments

@richardtaylordawson
Copy link

Describe the issue you're facing

I'm trying to use the preventClicks: true functionality to stop links in visual editor from working and moving users off the page they are editing. I'm doing this by passing the bridge options to the StoryblokStory like so:

<StoryblokStory
story={story}
bridgeOptions={{ resolveRelations, preventClicks: true }}
/>

If a url is needed, reach out and I can get one. It's a private repository

Reproduction

N/A

Steps to reproduce

No response

System Info

Latest version of storyblok/react, nextjs14, etc

Used Package Manager

npm

Error logs (Optional)

No response

Validations

@richardtaylordawson richardtaylordawson added pending-author [Issue] Awaiting further information or action from the issue author pending-triage [Issue] Ticket is pending to be prioritised labels Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending-author [Issue] Awaiting further information or action from the issue author pending-triage [Issue] Ticket is pending to be prioritised
Projects
None yet
Development

No branches or pull requests

1 participant