I have a form with blurry events related to required fields. Then the βCancelβ button appears, which simply calls up the URL (the button is an image with a click-event).
When you exit one of the required fields on the page, a warning is written stating that the xy field is required. β this leads to a shift of the layout, that is, all the fields and buttons move a little due to the text inserted above.
The tricky thing is this: when the focus is in an empty but required field and you press the cancel button, a mandatory warning is written to the screen, but the click event on the cancel button does not work. I think this is due to a layout shift. The mouse cursor no longer hovers over a button because the button scrolls down.
Does anyone have a good idea how can I solve this?
source share