Image flashes for a second when button is pressed

**How do I ** make an image appear on clicking button. It should not disappear on leaving the button.

What is the expected result

My image should remain open

What is the actual result

My image flashes for a second. If I leave the button, it disappears.

Related screenshots

.

Hey there,
You’ll need to show a screenshot of your venets for the button & image as well.

Pls play on this link:

Press Fix It button. You sill see the issue.