Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A weird UI issue on iOS #106

Open
623637646 opened this issue Apr 28, 2022 · 0 comments
Open

A weird UI issue on iOS #106

623637646 opened this issue Apr 28, 2022 · 0 comments

Comments

@623637646
Copy link

623637646 commented Apr 28, 2022

Example code:

import 'package:flutter/material.dart';
import 'package:flutter_linkify/flutter_linkify.dart';

void main() => runApp(LinkifyExample());

class LinkifyExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'flutter_linkify example',
      home: Scaffold(
        appBar: AppBar(
          title: Text('flutter_linkify example'),
        ),
        body: Linkify(
          style: const TextStyle(
            fontSize: 13,
          ),
          text:
              "a word\n\na word\n\na word\n\na word\n\na word\n\na word\n\na word\n\na word\n\na word\n\na word\n\na word\n\na word\n\nGoogle :https://www.google.com",
        ),
      ),
    );
  }
}

UI:
Screenshot 2022-04-28 at 9 25 35 PM

Expected: The "Google" text and the link should be on the same line.

This issue only happens on iOS (Simulator + real device). It's good on Web and Android.

My environment:
flutter_linkify version: 5.0.2
iOS version: 15+,
iPhone 13 pro simulator and iPhone 8 plus real device.

@623637646 623637646 changed the title A weird UI issue A weird UI issue on iOS Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant