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

Add Disabled stylings to App Rail Tile/Anchor #1890

Closed
MrVauxs opened this issue Aug 17, 2023 · 3 comments
Closed

Add Disabled stylings to App Rail Tile/Anchor #1890

MrVauxs opened this issue Aug 17, 2023 · 3 comments
Labels
feature request Request a feature or introduce and update to the project.
Milestone

Comments

@MrVauxs
Copy link

MrVauxs commented Aug 17, 2023

Describe the feature in detail (code, mocks, or screenshots encouraged)

As title implies, adding an optional disabled property with built-in styling and functionality that removes the ability to click the components would be appreciated.

It doesn't seem like it's possible to do it yourself currently.

What type of pull request would this be?

Enhancement

Provide relevant links or additional information.

No response

@MrVauxs MrVauxs added the feature request Request a feature or introduce and update to the project. label Aug 17, 2023
@endigo9740
Copy link
Contributor

This would be a feature specific to the standard tiles, not available to the anchor tiles. A disabled state is both visual and functional, but anchors don't have disabled states, buttons do.

As a bit of a work around for now, what I might suggest is removing options that are not currently available to use via if statements.

@ak4zh
Copy link
Contributor

ak4zh commented Aug 21, 2023

@MrVauxs May be you could do:

<AppRailTile class="grayscale" style="pointer-events: none">
	<span>Docs</span>
</AppRailTile>

@endigo9740
Copy link
Contributor

I think for now Ak4zh's answer above will suffice for this. We'll go ahead and sunset this one. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request a feature or introduce and update to the project.
Projects
None yet
Development

No branches or pull requests

3 participants