Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

actionButton "press" state not applying in Desktop #83

Open
Ralle8370 opened this issue Sep 27, 2023 · 1 comment
Open

actionButton "press" state not applying in Desktop #83

Ralle8370 opened this issue Sep 27, 2023 · 1 comment

Comments

@Ralle8370
Copy link

Ralle8370 commented Sep 27, 2023

Since @yelper pointed out the different states for actionButton in #50 , I want to point out that neither pressed or press (as it used to be) have any effect inside Power BI Desktop - the visual defaults back to the default state.

I am currently on Power BI Desktop for Report Server (May 2023), so I should ask if others experience the same issue?

Example

(...)
		"actionButton": {
			"*": {
				"shadow": [
					{
						"show": true
					},
					{
						"$id": "default",
						"transparency": 0,
						"shadowBlur": 20,
						"shadowPositionPreset": "center"
					},
					{
						"$id": "hover",
						"transparency": 0,
						"shadowBlur": 20
					},
					{
						"$id": "press",
						"transparency": 95,
						"shadowBlur": 25
					},
					{
						"$id": "disabled",
						"transparency": 20,
						"shadowBlur": 0
					}
				]
			}
		}
@yelper
Copy link
Collaborator

yelper commented Nov 22, 2023

The correct selector should be "selected", not "press".

I'm aiming to push an update to suggest available $id values in the December release of the schema; here's a sneak peak of what it'll look like.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants