Support for tour steps that have no spot (no AttachStep)
I haven't found anything in the examples or guides showing how one would include a tour step that does not have an associated AttachStep - ie. a step where the spotlight goes away and the rendered tooltip is just centered. Am I missing something or is this not available? If it's not, is it something you would like me to contribute? If it is possible with the current package, could someone point me in the right direction to implement it?
there is a workaround attach the step on a 1 pixel view the spotlight won't be visible like this:
<AttachStep index={0}>
<View style={{ width: 1, height: 1 }} collapsable={false}/>
</AttachStep>
Hi @bryce-mcmath, thanks for the report. You are correct; this feature is unavailable, but a workaround like what @etch01 shows is possible.
We would be happy to get a contribution for this! Sorry for the time it took to get back to you, but we were working on changing how tooltips are positioned. We use FloatingUI now, and this new feature must be built into this new approach. The first thing we'd need to do is to find a way to differentiate between a step with an attached view and a step without it. How would you expect to use that? We'll have different props on "unattached" steps because positioning needs to be provided by the step rather than by the attached view. I think we can start from there and then figure out how "unattached" steps would fit into the rendering flow 🙂