Coder Social home page Coder Social logo

Ctrl+W closes the PWA about pwasforfirefox HOT 7 CLOSED

bam80 avatar bam80 commented on June 16, 2024
Ctrl+W closes the PWA

from pwasforfirefox.

Comments (7)

filips123 avatar filips123 commented on June 16, 2024 1

I created #446. Also, please comment there if you know any other shortcuts that are commonly used in PWAs and conflict with built-in Firefox options (apart from ones already on the list).

from pwasforfirefox.

bam80 avatar bam80 commented on June 16, 2024

I see there is a ac5032f but maybe make the default behavior in-sync with the Chromium one, to not confuse the users?

from pwasforfirefox.

filips123 avatar filips123 commented on June 16, 2024

But if Ctrl+W is disabled by default, that may confuse Firefox users who expect it to close the tab (and the window if it's the only tab)...

from pwasforfirefox.

bam80 avatar bam80 commented on June 16, 2024

Well, as it's an "application" now it's more expected it would want to handle such combination itself.
Also, I think it's still better to keep this behavior consistent between different PWA vendors, as casual user shouldn't care much which vendor provides the PWA but just expects consistent behavior of the app itself.

My 2 cents.

from pwasforfirefox.

filips123 avatar filips123 commented on June 16, 2024

Yeah, but I still think it's better to have the same shortcuts as normal Firefox. In any case, disabling the shortcut takes just a few clicks if you need it disabled. So, I'll close this issue.

Another possibility is to keep the shortcut normally enabled, but allow the website to overwrite it. I think this is what Edge (and probably Chromium) does. I may add another option for this (which may be enabled by default) in the future, but I cannot guarantee when, as first I want to clean up and improve some existing code.

from pwasforfirefox.

bam80 avatar bam80 commented on June 16, 2024

I may add another option for this

Let's make task/issue for that to track?

from pwasforfirefox.

filips123 avatar filips123 commented on June 16, 2024

Ok, I will create it soon.

from pwasforfirefox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.