bip39 icon indicating copy to clipboard operation
bip39 copied to clipboard

Generate button doesn’t work on safari for iOS and iPadOS

Open dramrarafa opened this issue 1 year ago • 9 comments

Also tried chrome on both os but no luck, any ideas?

thx

dramrarafa avatar Oct 13 '23 04:10 dramrarafa

+Edge

MaxQuatro avatar Oct 21 '23 20:10 MaxQuatro

What version? Did it used to work? Maybe post some screenshots or videos? Try incognito mode? Try guest mode? Can browser dev tools help shed light on what's going on?

ghscuuo avatar Oct 21 '23 20:10 ghscuuo

Ipados 16.7.1 ipad pro 11’ 4 gen, EDGE 118.0.2088.60 (and also in safari and firefox), bip39 page (0.5.6) “generate” button not work There are no problems with version 0.5.4 (with the downloaded file)

MaxQuatro avatar Oct 21 '23 21:10 MaxQuatro

Good to hear you have a reasonable workaround with version 0.5.4.

How about version 0.5.5?

Maybe ios doesn't like the span class="text-danger" or the bad grammar: "your your secret" or maybe the ampersand: copy & paste.

ghscuuo avatar Oct 22 '23 16:10 ghscuuo

Good evening! I checked the work of version 0.5.5 now - the generate button does not work. If I set the entropy or seed myself, then the addresses are calculated.

MaxQuatro avatar Oct 22 '23 16:10 MaxQuatro

Good evening!

That kind of points to this:

    function generateClicked() {
        if (isUsingOwnEntropy()) {
            return;
        }
        // Pressing enter on BIP85 index field triggers generate click event.
        // See https://github.com/iancoleman/bip39/issues/634
        // To cancel the incorrect generation process, stop here if generate is
        // not focused.
        var buttonIsFocused = DOM.generate[0].contains(document.activeElement);
        if (!buttonIsFocused) {
            return;
        }
...

Sorry I won't be much help any more. Someone else will have to help out now. Good luck!

ghscuuo avatar Oct 22 '23 17:10 ghscuuo

Also the same with iOS and iPadOS 17 on different browsers

dramrarafa avatar Oct 22 '23 17:10 dramrarafa

Thanks for reporting this. Unfortunately I don't have easy access to an iOS device. I've confirmed the generate button doesn't work, but will need some more time or extra help from the community to figure out why.

iancoleman avatar Oct 27 '23 03:10 iancoleman