question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document for observe

See original GitHub issue

Hi. I have tour with two step. one button if user onClick will open a modal and forcus to element in modal. I saw example have observe. i’m try config steps but not working.

   <Tour type="abc" isOpen={this.state.showTours}
           onRequestClose={() => this.setState({ showTours: false })}
           steps={[
                 {
                            selector: '.add-widget',
                            'content': 'ahihi',
                        },
                        {
                            selector: '.add-widget',
                            'content': 'ahihi',
                            observe: '.new-widget'
                        },

                    ]} />

Can you write an example of this problem?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
kenzouno1commented, Jul 2, 2018

Here is my code in project

Selector .new-widget inside modal

If i click .add-widget modal open but tour step not focus to .new-widget.

Gif Image Project Run

 <div className="observer">
                {
                    this.state.showModalWidget &&
                    <ModalNewWidget
                        show
                        onSave={data => this.handleNewWidget(data)}
                        onClose={() => this.setState({ showModalWidget: false })}
                    />
                }
                <Button className="add-widget" icon="plus" onClick={() => this.setState({ showModalWidget: true })} />
                <Tour isOpen={this.state.showTours}
                    onRequestClose={() => this.setState({ showTours: false })}
                    steps={[
                        {
                            selector: '.add-widget',
                            'content': 'step 1',
                        },
                        {
                            selector: '.new-widget',
                            'content': 'step 2',
                            observe: '.observer'
                        },

                    ]} />
            </div>
0reactions
koiskicommented, Jul 19, 2020

same

Read more comments on GitHub >

github_iconTop Results From Across the Web

documentation - Observe, Inc.
Observe Documentation ¶ · About Queries and On-demand Acceleration · Data Ingestion · Observe Integrations · Observe Datasets and Time · Tutorial: Modeling...
Read more >
document.observe - Prototype v1.7.3 API documentation
Listens for the given event over the entire document. Can also be used for listening to "dom:loaded" event. document.observe is the document-wide version...
Read more >
Chapter 7: Observation and Documentation: The Key to ...
Observation and Documentation Dos and Don'ts · Note the date, time, setting, · Note the child (or children) involved · Record only the...
Read more >
Observation and Documentation - Reggio Emilia - Weebly
Documentation can be written as in taking observation notes on what you observe the child doing, or through dictation as you transcribe what...
Read more >
Preschool Foundations: Observe, Document, and Assess
Observation, documentation, and assessment are fundamental tools used to carefully monitor a child's development. The overall purpose is to help early care ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found