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

Inspector is blank for machines with multiple global actions #56

Open
el-dav opened this issue Feb 10, 2022 · 0 comments
Open

Inspector is blank for machines with multiple global actions #56

el-dav opened this issue Feb 10, 2022 · 0 comments

Comments

@el-dav
Copy link

el-dav commented Feb 10, 2022

When using the inspector in vs code the inspector panels goes blank when the machine contains multiple global actions.

To reproduce open the inspector in vscode with the following machine

import { createMachine } from 'xstate';

const machine = createMachine({
  id: 'machine',
  on: {
    A: { actions: 'ON_A' },
    B: { actions: 'ON_B' },
  },
  initial: 'HELLO',
  states: {
    HELLO: {},
  },
});

The result is shown in the following screenshot
Screenshot 2022-02-10 at 16 10 36

This doesn't appear to be an issue in the visualiser on stately.ai as shown here

The expected result would be to display what we see in the stately visualiser

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

1 participant