-
Notifications
You must be signed in to change notification settings - Fork 542
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
Allow spotlight styles to be updated from outside #954
Conversation
When <Joyride /> is used as third party lib in host react applications, there are several instances where you might need a more finer control on how things are displayed. This change allows developers to manipulate spotlight style if they want according to their needs. In our case, we are using <Joyride /> with react-pdf to create highlighted section in the pdf. So we need finer control over the spotlight CSS being displayed in our app.
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit bdbc629:
|
@gilbarbara can you please take a look at this very small change which could be really useful for lot of users of this awesome library. Thanks a bunch! |
Hey @manishPh I'm testing the changes locally. |
@gilbarbara since my usecase is somewhat unique, I also rely on |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@gilbarbara hey, checking in if you were able to review/test this. Let me know if you have any comments on how to move forward on this if possible. |
Hi @gilbarbara let me know if you need more time to test this out, or you think this is not something you want to merge/consider at this point. |
Hey @manishPh I've decided against this change. As you said, it's a very niche case, and the implementation isn't great. |
When is used as third party lib in host react applications, there are several instances where you might need a more finer control on how things are displayed. This change allows developers to manipulate spotlight style if they want according to their needs.
In our case, we are using with react-pdf to create highlighted section in the pdf. So we need finer control over the spotlight CSS being displayed in our app.