?
avatar rinka88
rinka88
20 May 2020

Wherever a "Module class" is used, textarea is used. And where is the "Header Class" used there input type = "text". And joomla 3 uses the same type everywhere.
http://prntscr.com/sklhzz
You can look in the module settings and wherever this class is used

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
1.00

avatar rinka88 rinka88 - open - 20 May 2020
avatar joomla-cms-bot joomla-cms-bot - change - 20 May 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 May 2020
avatar chmst
chmst - comment - 20 May 2020

Thank you for your hint, this indeed is different, but I don't know why.
Why is it an issue for you? What would you suggest? Both as text-area or both as text?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29183.

avatar particthistle
particthistle - comment - 23 May 2020

The only reason I'd see to change it would be for consistency.

  • If you were to have a long set of module classes or header classes in a text field, you would need to move along the text box to see everything.
  • The advantage with a textarea would be you can see it all and resize the textarea if you need to see more.

@rinka88 thoughts?

@chmst Raised during PBF 23 May 2020


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/29183.

avatar brianteeman
brianteeman - comment - 23 May 2020

Those were the reasons that the module class was changed to a text area. No reason that the header class couldnt be changed as well

avatar rinka88
rinka88 - comment - 23 May 2020

I think it's better to use input type = "text"

avatar rinka88
rinka88 - comment - 23 May 2020

I think it's better to use input type = "text"
@chmst

avatar brianteeman
brianteeman - comment - 23 May 2020

Can you explain why

avatar rinka88
rinka88 - comment - 23 May 2020

When textarea move the corner then fly off the whole design. And on input type = "text" does not change from a hard-coded area.
p.s Try on joomla 4

avatar ReLater
ReLater - comment - 23 May 2020

I would prefer textarea for all class fields. It's common e.g. in Bootstrap 4 to use many responsive classes. I can increase the height of a textarea field to see them all but can't increase a text field.
We have this 3-columns layout (whyever) in the back-end and the width of text fields is limited and classes are hidden.

23-05-_2020_12-22-30

avatar rinka88
rinka88 - comment - 23 May 2020

Я бы предпочел textarea для всех полей класса. Например, в Bootstrap 4 часто используется много адаптивных классов. Я могу увеличить высоту текстового поля, чтобы увидеть их все, но не могу увеличить текстовое поле.
У нас есть этот 3-колоночный макет (как бы то ни было) в бэк-энде, ширина текстовых полей ограничена, а классы скрыты.

23-05-_2020_12-22-30

And you try clicking the textarea frame from the bottom, and stretch a little to the right, it will go down sharply, disrupting the design.

avatar particthistle
particthistle - comment - 23 May 2020

And you try clicking the textarea frame from the bottom, and stretch a little to the right, it will go down sharply, disrupting the design.

This is partially by design: The layout uses css flex layout, and so automatically allocates the contents across the three columns proportionally.

Resizing the text area then needs to balance out the flex columns and so if it's made longer than the second column it redistributes the contents in the columns. You would need to further wrap the content into 3 column divs to stop the layout changing as you resize the textarea. I don't think that people would be changing the size of the textarea frequently enough to warrant fixing the contents into three columns.

I agree that changing Header Class to a textarea is a good idea.

avatar chmst
chmst - comment - 23 May 2020

Close this as we have a PR #29201

avatar chmst chmst - close - 23 May 2020
avatar chmst chmst - change - 23 May 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-05-23 14:49:15
Closed_By chmst
avatar ReLater
ReLater - comment - 23 May 2020

And you try clicking the textarea frame from the bottom, and stretch a little to the right, it will go down sharply, disrupting the design.

Perhaps that's a browser issue and you should open a new issue? I can't confirm this find with Firefox 76.0.1 (64-Bit)/WIN. I only can resize vertically. Not horizontally.

avatar particthistle
particthistle - comment - 23 May 2020

Horizontally is styled that way so the field width is fixed at 100% of the column.

avatar ReLater
ReLater - comment - 23 May 2020

open a new issue?

Screenshots can be helpful then. What you mean with "disrupting the design".

@particthistle

Horizontally is styled that way so the field width is fixed at 100% of the column.

Yes, but @rinka88 said: "and stretch a little to the right"

avatar rinka88
rinka88 - comment - 23 May 2020
avatar brianteeman
brianteeman - comment - 23 May 2020

But why would you do that?

avatar rinka88
rinka88 - comment - 23 May 2020

But why would you do that?

Purely by accident.
There, I just moved a little to the right, and the automatic itself was pulled down. And he did not pull it. The mouse is not visible in the video.

Add a Comment

Login with GitHub to post a comment