Paragraphs containing inline footnotes use a smaller font on Chrome on Android

This section does not have a footnote.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

This section does have a footnote. The text should be the same size as the others, but is smaller (on mobile only)

Lorem ipsum[1] dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum

And this section does not, again

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum


  1. “On the other hand, we denounce with righteous indignation and dislike men who are so beguiled and demoralized by the charms of pleasure of the moment, so blinded by desire, that they cannot foresee the pain and trouble that are bound to ensue; and equal blame belongs to those who fail in their duty through weakness of will, which is the same as saying through shrinking from toil and pain. These cases are perfectly simple and easy to distinguish. In a free hour, when our power of choice is untrammelled and when nothing prevents our being able to do what we like best, every pleasure is to be welcomed and every pain avoided. But in certain circumstances and owing to the claims of duty or the obligations of business it will frequently occur that pleasures have to be repudiated and annoyances accepted. The wise man therefore always holds in these matters to this principle of selection: he rejects pleasures to secure other greater pleasures, or else he endures pains to avoid worse pains.” ↩︎

Oh, LOL. I guess no footnotes here on meta. But see the bug in action on Ask Fedora:

The paragraphs which contain footnotes in the topic post, and also for replies which do, on Android in the app, are in a smaller font. They are unchanged on Firefox on desktop.

I just added the plugin, so we have footnotes here now. I clicked ‘Rebuild HTML’ on your OP.

2 Likes

Thanks! And I can now say: yep, it’s not just my site. Try it out and see.

1 Like

Well, for me (app/iPad(Safari) the footnote shows now at actual bottom of this page, below suggested topics.

Paragraphs have same font size, though.

Just checked — works fine on mobile Firefox, but not in the app-with-inbuilt-Chrome or in the Chrome browser.

I’m using Android/Chrome, and the text appears consistent to me? I tried it here, on my site, and on the fedora link; both in my regular browser, in the ‘install the app’, and on Discourse Hub.

Though the inline footnote in the OP does not seem to be expanding for me.

Is it expanding but appearing at the very bottom of the page? (Like, scroll all the way down.) Because that’s what is happening for me.

2 Likes

Oh yes, there it is. :slightly_smiling_face: I thought I’d looked there after @Jagster mentioned it, but I obviously didn’t scroll down far enough.

(just to note, it works properly on my site)

FWIW, Android 12 on a Pixel 4a.

I thought it might be a theme problem, but it’s the same on all I’ve tried.

Android 9/Honor 9 for me.

I changed it to not use inline footnotes on my sites, and that fixed the problem. I kind of prefer that anyway, even though inline is slick. (What I really want is both, but that’s another story.)

On Firefox Windows + Sidebar it is rendering in a totally wrong place.

@vinothkannans can you investigate the issue reported and this Firefox issue, maybe our popper library needs updating?

1 Like

@joffreyjaffeux has been working on some big changes to the plugin here:

Those changes are deployed to Meta now - are things looking any better @mattdm

1 Like

Seems the same to me on this topic. Am I the only one seeing this?

The commit fixed a number of general issues, so I was hoping it might have resolved the text size problem you were seeing - I guess not :cry:

I just tried an Android device (Galaxy S21, Android 11.0, latest chrome) on browserstack.com, and can’t reproduce the problem:

Which app is this? The official “Discourse Hub” android app?

I didnt look at this issue, I guess it’s probably trivial to fix, let me have a look.

1 Like

Few notes:

  • I can repro on android 9 galaxy s10 (couldn’t repro on newer)
  • It’s definitely related to the button, if I remove it, it has the correct size

Digging…

2 Likes

@david I think that should fix it and also improve other things:

4 Likes