765 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
18
views
How to control the number of dots in ellipsis in android
I have a textview which does not have enough space to show all the characters when the screen is shrinked. The problem arrives when the screen is shrinked so much that no letter of the actual text is ...
1
vote
1
answer
80
views
Mypy error when indexing into array with ellipsis and unpacking
I get a mypy error when I index into an array using both Ellipsis and tuple unpacking.
I have a line of code that looks like this:
new_mat = mat[..., *np.ix_(inds, inds)]
which gives rise to the ...
0
votes
0
answers
16
views
React native FloatingLabelInput/TextInput ellipsis issue
Does anybody know how to add an ellipsis (The "..." that you usually see when a Text overflows) in a FloatingLabelInput in react native. The Text component has 2 props, numberOfLines and ...
0
votes
1
answer
51
views
Cannot find a way to have ellipsis and width of content at the same time
I am using Tailwind and I am making clearable chips for a filtering component.
I have a flex container and I need the chips inside to be the width of the content. But when the width is too small I ...
1
vote
2
answers
164
views
Ellipsis on deeply nested flex items
I believe I know how text overflowing works in general, but my deeply nested layout is proving otherwise. There are lots of resources on the internet (e.g. this well-known article) and, of course, on ...
1
vote
1
answer
76
views
How to Determine if Text is Overflowing & Handle Text Ellipses Removing the Overflow
I'm trying to write a function that determines whether the text has overflowed (to determine whether I should show a tooltip). How can I handle text ellipsis removing the overflow?
I have:
const ...
0
votes
0
answers
196
views
How to fully expand Firefox headers in f12 developer tools
I was doing a little debugging for my web application, and wanted to test out an API endpoint in Postman, so I opened up F12 devtools, and looked at my API request.
In order for Postman to work, it'll ...
0
votes
1
answer
157
views
Change font size when content is truncated
I have a div that can contain really long text (but not always). The requirement is to limit the text to three lines and truncate with ellipses. I've got this part figured out.
The second ...
1
vote
1
answer
59
views
How to use ellipsis inside flex elements [duplicate]
First there is a fixed-size div(cyan). Two div are in it. One is flex(pink), other is fixed size(gray). Two elements with long text are in the flex element. If text is long, I want pink and gray to ...
0
votes
1
answer
71
views
Remove the rest of the innerHTML text after ellipsis
The text is truncated by CSS rules text-overflow: ellipsis; and -webkit-line-clamp:3; but when the text is longer and goes to next row, sometimes the next row is showing few pixels. element.innerHTML ...
3
votes
1
answer
149
views
why does assigning to the ellipsis `... <- 1` not throw an error?
NB: What I do below may not be directly useful. But I would like to understand why R works this way.
The ellipsis (...) has a special meaning in R functions. Evaluating it directly will throw an ...
-1
votes
1
answer
133
views
How to remove the rest of the text after CSS ellipsis
The text is truncated by CSS rules text-overflow: ellipsis; and overflow: hidden; but when the text is longer and goes to next row, sometimes the next row is showing few pixels. element.innerHTML ...
0
votes
0
answers
78
views
override an interface method containing ellipsis with an universal reference in c++
I would like to override an interface method which contains an ellipsis with a template method. I wonder if this is possible.
Imagine following:
class MyInterface
{
public:
virtual void myMethod(...
0
votes
1
answer
115
views
How is `text-overflow: ellipsis` working here, when the required conditions aren't meeting?
I know that for text-overflow: ellipsis to work, a few conditions must be met:
The element must have a set width or max-width.
The overflow property must be set to hidden, scroll, auto, or clip.
The ...
0
votes
2
answers
2k
views
How can I show tooltip ONLY when ellipsis is activated?
I am using Chakra UI (Tooltip and the ellipsis) I have added the Tooltip to show the label on the title completely but I ONLY want to show the Tooltip when ellipsis is activated!
For example, in ...