整行批量选择

Install this theme component

Hello :wave:

This theme component makes the full topic list item row selectable with click or tap. It makes much easier to select a topic mainly on mobile.

17 个赞

Seem like something that should be official ?

8 个赞

Very good function, solved a big problem!!! Thank you!! And the official should include this plug-in!!!

2 个赞

There is an issue. With iPad anyway, others I didn’t check.

Five selected. Showing selected rows that way is strange and in the beginning it was’t like that. If I select all and start scrolling that blue goes gradiently deeply and deeply, and at some point DiscourseHub crashes (that crashing can be another issue of DiscourseHub and iPad, though).

But there is a conflict with Topic List Previews.

Everything (aka. 30 in Discourse lingo) is selected. The text says so too, but there is only one selected. And if everything should be cleared, it actually erases only one selection and moves check mark one step downwards.

I let you guys armwrestle is that a real confict or does it come from Discourse or what. But selection with gradient blue just doesn’t work :smirk:

1 个赞

Hello :wave: Yeah, it seems this issue is on Safari, not too much likes table with position: relative;. I think that is not possible to make it with css. But I’ve fixed it with Javascript, we had to calculate the topic-list-item height and use it to the bulk-select overlay height.

Thanks for the report :slight_smile:

2 个赞

Thanks! It works nicely now [1]


  1. except with Topic List Previews, but that issue is just cosmetic ↩︎

1 个赞