Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Syndicate_Admin
Administrator
Administrator

Rectangle shape prevent clicking

Hello Community.

It is possible to tell a shape (rectangle) that cannot be clicked ? since I use them to put buttons and the user if you click the buttons go backwards, for example that it acts as the text box where the user clicks but there is no action of said box.

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@CristianCL21

Good afternoon

The secret is in the order of the layers of the objects. You must place the rectangle layer below the button (as in the attached image).

Then select the rectangle and under "General", activate the "Maintain layer order" option. This will cause the object to remain below the button even if you click on it. Note that this option is enabled when you publish the file to the service; in Desktop you won't see any changes.

layer order.JPG

View solution in original post

3 REPLIES 3
Syndicate_Admin
Administrator
Administrator

@CristianCL21

Good afternoon

The secret is in the order of the layers of the objects. You must place the rectangle layer below the button (as in the attached image).

Then select the rectangle and under "General", activate the "Maintain layer order" option. This will cause the object to remain below the button even if you click on it. Note that this option is enabled when you publish the file to the service; in Desktop you won't see any changes.

layer order.JPG

amitchandak
Super User
Super User

@Syndicate_Admin , I checked a few options including maintain layer order.  But I am able to access the visual below if the part of the other visual is visible.  As long as the visual is completely below, we are not able to click the below visual. Rectangle with no background and no fill, cover the below visual completely

Hello, I did not fully understand the answer, you can click YES/NO ? (the idea is to avoid it)

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.