iOS icon indicating copy to clipboard operation
iOS copied to clipboard

Feature Request - Adjustable text sizes for DuckDuckGo searches on iPadOS

Open d108 opened this issue 1 year ago • 0 comments

When browsing the web on an iPad, the font size can sometimes feel uncomfortable, for example, when searching with DuckDuckGo.

The text size adjustment feature is disabled for iPadOS in SettingsViewController.swift:

private func configureTextSizeCell() {
    textSizeCell.isHidden = UIDevice.current.userInterfaceIdiom == .pad
    textSizeAccessoryText.text = "\(appSettings.textSize)%"
}

After investigating the problem, calls to webkitTextSizeAdjust in JavaScript don't appear to work for WebKit on iPadOS like iOS. Do you know if this is due to a bug in WebKit?

However, calling adjustTextSizeForDDG() produces the expected changes for DuckDuckGo search results.

Therefore, can we have the option to enable text size adjustment on iPadOS, at least for DuckDuckGo searches? Such a change will increase the font size options for the browser's primary search engine, helping people adapt to more reading conditions.

d108 avatar Mar 02 '23 17:03 d108