PopUp - React - Event in components

Posted by: bmysliwy on 14 December 2021, 3:43 am EST

  • Posted 14 December 2021, 3:43 am EST

    Hi,

    I have a problem with events in component. When i added component in popup i can’t invoke any event. Inputs - onChange, button - onClick, onMouseOver all events not working.

    <wjInput.Popup
                style={{
                   minWidth: "50%",
                   minHeight: "40%",
                   width: "50%",
                   height: "80%",
                   maxWidth: "80%",
                   maxHeight: "90%",
                }}
                modal={false}
                isDraggable={true}
                isResizable={true}
                initialized={(e) => {
                   popupObj = e;
                }}
             >
                <div className="wj-dialog-header">
                   <h4>{"Wybierz generator"}</h4>
                   <button type="button" tabIndex={-1} className="close wj-hide">
                      &times;
                   </button>
                </div>
                <div className="wj-dialog-body">
                   <ListaGeneratorowComponent onSelectedObject={onSelectedObj} />
                </div>
                <div className={"wj-dialog-footer"}>
                   <button className="cancel-button wj-hide">{"Anuluj"}</button>
                   <button className="approve-button wj-hide-ok"> {"Wybierz"} </button>
                </div>
             </wjInput.Popup>
    

    Please help.

    Best regards.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels