tdesktop icon indicating copy to clipboard operation
tdesktop copied to clipboard

Bot webapp main button doesn't display RTL text correctly

Open erfanium opened this issue 3 years ago • 0 comments

Steps to reproduce

set main button text to an RTL text:

window.Telegram.WebApp.MainButton.text = "سلام"

Expected behaviour

Main Button should display RTL texts as like LTR texts. I can confirm this problem is not exist in Telegram Android and Telegram Web. this is only for Telegram Windows (I don't have any mac or iOS device to test).

Android: photo_2022-07-24_09-08-19

Web Z: web

Actual behaviour

The main button text is not correctly positioned when text is RTL, on Telegram desktop windows-persian

Operating system

Windows

Version of Telegram Desktop

4.0.2

Installation source

Static binary from official website

Logs

No response

erfanium avatar Jul 24 '22 09:07 erfanium