Hint is not working well with btn which opens a popup

Please have a look at this snippet
https://snippet.webix.com/lbph9ooh
Clicking on button opens a popup and hint also should move one step further as eventEl is that button but the hint is stuck there and clicking on next would make jump two steps not one.

p.s - I’m using webix 5.2

@Nastja any help?

Hello @shahidkamal ,

To make this sample work correctly you need to remove ui.window from ui.form and create a separate webix.ui with ui.window like this:

webix.ui({
  view:"window",
  id:"win",
 ...
});

webix.ui({
  rows:[
    view: "form",
      elements: [
        {
          id: "elbtn",
          view: "button",
          label: "tat",
          click: ()=>{
             $$('win').show();
           }
        }
      ]
    }

Also, you need to set the next property in the step configuration.

steps: [
    {
       el: "elbtn",
        ...
        next:function(){
          $$('win').show();
        },
   }
...
]

Please check the sample: Code Snippet