Disable Tablet view

Is there a way to disable the tablet view altogether? I am fine with tablet users seeing the desktop experience.

1 Like

Mmm. Not in one click, no.

Are you using a template that has tablet presets on some elements? If you are, then you’d have to go to tablet mode and reset the CSS settings one by one in the editor:

CleanShot 2023-08-24 at 23.12.08

If you’re not using a template and built your own app from scratch, you should be fine. The tablet breakpoint will take the same design as the desktop unless told otherwise.

The one big exception I can think of (there may be others) is the navigation menu which you’ll have to reset to desktop because we made it responsive on tablet by default.

Does that help for your use case or not really? :sweat_smile: Don’t hesitate to share more info on why it would be helpful to you so I can share your use case with the product team.

Indeed as Joyce said, unless you have predefined styles on some components, which you can reset, or some classes, then if you don’t do tablet, the tablet will take the Desktop’s settings.

Thanks @Joyce and @Broberto. I did not use a template to build my app, I built it from scratch. As you can see in this Loom, the tablet view is not behaving well. I’d prefer it to behave as the Desktop view does when I reduce its size. Is that possible?

Thanks.

@Joyce Any advice please? Thanks.

Bump. Anyone able to help with this please?

Hey, I think you’ll have to make it responsive the tough (which also is the right) way - by editing the breakpoint. I think the resizing that you see happening is because the editor is running in an <iframe> (but someone feel free to correct me if I’m wrong on this one). So there is probably no way to make it resize that way, which would be a right thing to do.

1 Like

Thanks. Yeah I actually have started down that path so will continue that way.

Hi @Dorian :wave:

Apologies for the late reply.

I can’t think of an easy solution unfortunately. Think @Broberto is right and you’ll need to make the datagrid responsive on the tablet breakpoint.

Tables are notoriously annoying to make responsive in web design :confused:

1 Like