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

Allow large interactive areas #53052

Open
draganescu opened this issue Jul 27, 2023 · 4 comments
Open

Allow large interactive areas #53052

draganescu opened this issue Jul 27, 2023 · 4 comments
Labels
Needs Design Feedback Needs general design feedback. [Type] Enhancement A suggestion for improvement.

Comments

@draganescu
Copy link
Contributor

What problem does this address?

Sometimes we want a whole group of related visual items to have the same interaction (click, tap, keydown) result. For example in social media feeds sometimes the whole feed item links to the "detail" page. The feed item includes number of replies, the content, maybe other information too.

The gist is to allow making HTML5 anchors which support just about any element set inside (including div) as long as none are interactive elements.

What is your proposed solution?

Make a group link block which does not allow buttons, videos etc as child? No idea really.

@draganescu draganescu added the Needs Design Feedback Needs general design feedback. label Jul 27, 2023
@jordesign jordesign added the [Type] Enhancement A suggestion for improvement. label Jul 27, 2023
@jordesign
Copy link
Contributor

I had a user in the forums asking about exactly this yesterday.
https://wordpress.org/support/topic/column-clickable/?view=all#post-16919822

@stokesman
Copy link
Contributor

Related #45959, #42935, #29136, #12684

The oldest issue I think has the most discussion. There’s plenty of longing for this and various ideas for solutions but there are either enough difficulties or downsides to have kept them from being pursued.

I’ve worked on a branch that tries the route of a new block. It's workable but no sure-winner. I could make a PR for it to try and help us evaluate that idea.

@Marc-pi
Copy link

Marc-pi commented Aug 16, 2023

yep, that's indeed needed a least on Column ....
example : product list per column, the whole "card" should be clickable
see the Pricing Table 3 columns pattern, that could be enhanced with such an option

@mateitudor
Copy link

it's been 84 years

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Design Feedback Needs general design feedback. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

5 participants