palantir / blueprint

A React-based UI toolkit for the web
https://blueprintjs.com/
Apache License 2.0
20.65k stars 2.17k forks source link

[Multistep Dialog] Expose a function to proceed to the next step in the dialog #5040

Open undefined-dot-json opened 2 years ago

undefined-dot-json commented 2 years ago

Feature request

It would be useful if the Multistep Dialog exposes a method to proceed to the next step in the dialog.

Use Case

The dialog can progress through steps when the user presses on the enter key

Examples

const r = React.Ref<MultiStepDialog> = createRef();
const onEnter = () => r.current.nextStep();

return <MultiStepDialog ... ref={r} />
maurodesouza commented 1 year ago

Hi @adidahiya! Is there some update?