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

Make thumbnail images in Tiles clickable #400

Closed
eldoro80 opened this issue Jul 22, 2020 · 8 comments
Closed

Make thumbnail images in Tiles clickable #400

eldoro80 opened this issue Jul 22, 2020 · 8 comments

Comments

@eldoro80
Copy link

The thumbnail images of the Tiles in the Tile-layout arent clickable. The mouse pointer changes to a hand when hovering the thumbnail image, but it's not clickable. Perhaps this is a bug instead of a feature request? The thumbnails in the default SharePoint tiles are clickable, so it would be consistent to also implement this in the Tile-layout.

afbeelding

Greetings and keep up the good work!

@wobba
Copy link
Collaborator

wobba commented Jul 22, 2020

If you enable preview, then a click will open the preview.

image

I guess we could/should turn off the click target if you don't have a preview.

@eldoro80
Copy link
Author

@wobba I'dd like for the image thumbnail to link to the same URL as the Title (when preview is disabled). I think that's expected behaviour for most users. Offcourse a simple fix would be to disable the click target on the image when preview is disabled. But I personaly would favour the first mentioned solution.

@eldoro80
Copy link
Author

Alright, thanks!

@LetMeSP
Copy link

LetMeSP commented Apr 29, 2021

I decided to remove the click target instead if there is no preview. Clicking the link will open.

Sorry if doing something wrong but my first post here. Is this issue back? I use Cards layout for videos and thumbnail is not clickable but mouse cursor is active. Is there a way to add a URL to that thumbnail.

@HamEv
Copy link

HamEv commented Nov 4, 2021

@eldoro80, @wobba do you find a solution for that? I have the same need - I want to click on the tiles preview image and open the document. Unfortunalty it's not possible and I cannot add html code within tile configurator.

@wobba
Copy link
Collaborator

wobba commented Nov 7, 2021

There is no easy way to accomplish this with the fabric component we use.

@HamEv
Copy link

HamEv commented Nov 8, 2021

@wobba thanks for your response. Is there a possiblity to change the "Preview Image" within tiles to allow HTML Code? So, that I can just insert an tag with ?

@FranckyC
Copy link
Collaborator

FranckyC commented Nov 8, 2021

Hi @HamEv, no you can't add direct HTML in the tiles at this time.

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

5 participants